To avoid typing long commands with there arguments.
here .bashrc minimizes ones burden of typing at CLI.
$vi /home/user/.bashrc
##add following alias into .bashrc file
##--------------------------------------
alias runing='ps -ef | grep -i $1'
alias email='ssh -l username servername'
$source .bashrc
$type runing
runing is aliased to `ps -ef | grep -i $1'
example:
$runing bash
$email
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment