Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### MY BASHRC ###
- umask 077
- # MY PS1 #
- # Color : \e[X;YYm some text \e[m
- PS1="┌[\A]─\u@\h─$(((SHLVL>1))&&echo -n "$SHLVL─"){\w}\n└─ \$ "
- # ALIASES #
- if [ -f /home/sybase15/tools/bin/ls ]
- then
- alias ls='/home/sybase15/tools/bin/ls --color=auto'
- fi
- # ssh mode
- rootssh() {
- ssh $1 -t "sudo su -"
- }
- alias rssh=rootssh
- alias ih='cat /etc/hosts|grep -v "^#"|grep -i'
- # Shortcuts
- alias l='ls -lAh'
- alias ll='ls -lh'
- alias du='du -sh'
- alias df='df -h'
- # Prevent errors
- alias rm='rm -i'
- alias cp='cp -i'
- alias mv='mv -i'
- ## Provide Ping ##
- PATH="$PATH:/usr/sbin"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement