Categories

Sunday, 1 April 2012

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@192.168.1.200
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

Ad