James Sparenberg wrote:
> alias msg="tail -f /var/log/messages"
> This all goes at the top, in your .bashrc file then when you su to root
> (since you have to be root to tail the logfile) just typing msg would
> give you the full command. Just make sure your alias isn't also a
> command (like doing an alias of ls to rm -Rf .... not fun, not good,
> unless of course you do it to someone else *grin*
Some I use:
alias Mnt='mount | sort | less'
alias Reboot='shutdown -r 0'
alias rpmqa='rpm -qa $*'
--
"...[B]e quick to listen, slow to speak and slow to become angry...."
James 1:19 NIV
Team OS/2 ** Reg. Linux User #211409
Felix Miata *** http://members.ij.net/mrmazda/
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com