Friday, March 22, 2013

Use Of alias command

The alias command can be useful if you want to create a 'shortcut' to a command.
The format is alias name='command'

alias mv='mv -i'
alias syam=ssh root@
The above command is a default example of alias command.So by just typing the command mv it will execute What we had given in the right hand side of the alias.

To remove the alias ,use the unalias command.

No comments:

Post a Comment