Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #bashrc 'borrowed' snippits
- # Colors:
- black='\e[0;30m'
- blue='\e[0;34m'
- green='\e[0;32m'
- cyan='\e[0;36m'
- red='\e[0;31m'
- purple='\e[0;35m'
- brown='\e[0;33m'
- lightgray='\e[0;37m'
- darkgray='\e[1;30m'
- lightblue='\e[1;34m'
- lightgreen='\e[1;32m'
- lightcyan='\e[1;36m'
- lightred='\e[1;31m'
- lightpurple='\e[1;35m'
- yellow='\e[1;33m'
- white='\e[1;37m'
- nc='\e[0m'
- export BROWSER='/usr/bin/xxxterm -n'
- export DE=gnome
- export IPLAYER_OUTDIR="/home/jason/Videos/"
- #alias vte="vte --reverse -f Tamsyn -A -D"
- alias xanim=mplayer
- #alias xterm=sakura
- alias screen='screen -R'
- # Source global definitions
- if [ -f /etc/bashrc ]; then
- . /etc/bashrc
- fi
- ####
- extract()
- {
- if [ -f "$1" ] ; then
- case "$1" in
- *.tar.bz2) tar xjf "$1" ;;
- *.tar.gz) tar xzf "$1" ;;
- *.tar.Z) tar xzf "$1" ;;
- *.bz2) bunzip2 "$1" ;;
- *.rar) unrar x "$1" ;;
- *.gz) gunzip "$1" ;;
- *.jar) unzip "$1" ;;
- *.tar) tar xf "$1" ;;
- *.tbz2) tar xjf "$1" ;;
- *.tgz) tar xzf "$1" ;;
- *.zip) unzip "$1" ;;
- *.Z) uncompress "$1" ;;
- *) echo "'$1' cannot be extracted." ;;
- esac
- else
- echo "'$1' is not a file."
- fi
- }
- ##
- # History Options
- # ###############
- # Don't put duplicate lines in the history.
- export HISTCONTROL="ignoredups"
- localnet ()
- {
- /sbin/ifconfig | awk /'inet addr/ {print $2}'
- echo ""
- /sbin/ifconfig | awk /'Bcast/ {print $3}'
- echo ""
- }
- #### PHUN PHUN PHUN this has no real purpose but is PHUN!
- clear
- echo -e "${blue}";figlet "RAW Edition";
- #echo -ne "${red}Today is:\t\t${cyan}" `date`; echo ""
- #echo -e "${red}Kernel Information: \t${cyan}" `uname -smr`
- echo -ne "${cyan}";infobash -v3;echo ""
- echo -e "${grey}"; cal -3
Advertisement
Add Comment
Please, Sign In to add comment