Command Aliases
Here are some aliases I set up to make the time I spend at the command prompt easier.
- alias apachectl='/usr/bin/sudo /usr/sbin/apachectl'
- alias bc='bc -l'
- alias chkconfig='/usr/bin/sudo /sbin/chkconfig'
- alias egrep='fgrep --color'
- alias fgrep='fgrep --color'
- alias grep='grep --color'
- alias hoststat='/usr/bin/sudo /usr/bin/hoststat'
- alias ifconfig='/usr/bin/sudo /sbin/ifconfig'
- alias iptraf='/usr/bin/sudo /usr/bin/iptraf'
- alias ip='/usr/bin/sudo /sbin/ip'
- alias lc='tr A-Z a-z'
- alias ls='ls --color -F'
- alias mailq='/usr/bin/sudo /usr/bin/mailq'
- alias mailstats='/usr/bin/sudo /usr/sbin/mailstats'
- alias mxlookup='nslookup -q=mx'
- alias named-checkconf='/usr/bin/sudo /usr/sbin/named-checkconf'
- alias psad='/usr/bin/sudo /usr/sbin/psad'
- alias pwgen='pwgen -cns'
- alias route='/usr/bin/sudo /sbin/route'
- alias service='/usr/bin/sudo /sbin/service'
- alias se='/usr/bin/sudoedit'
- alias shutdown='/usr/bin/sudo /sbin/shutdown'
- alias si='/usr/bin/sudo -i'
- alias soalookup='nslookup -q=soa'
- alias ssh='ssh -q -t'
- alias sudo.su='/usr/bin/sudo /bin/su -'
- alias s='/usr/bin/sudo'
- alias tcpdump='/usr/bin/sudo /usr/sbin/tcpdump'
- alias telinit='/usr/bin/sudo /sbin/telinit'
- alias uc='tr a-z A-Z'
- alias uuto='uuto -C'
- alias visudo='/usr/bin/sudo /usr/sbin/visudo'
- alias vi='vim'
- alias yum='/usr/bin/sudo /usr/bin/yum'