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.
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