how to use 'alias' in linux
Many a times, you might need to create new commands from existing
commands. Sometimes, existing commands have complex options to
remember. In such cases, we can create new commands as follows:
$ alias ll='ls –l'
$ alias copy='cp –rf'
To list all declared aliases, use the following command:
$ alias
To remove an alias, use the following command:
$ unalias copy
commands. Sometimes, existing commands have complex options to
remember. In such cases, we can create new commands as follows:
$ alias ll='ls –l'
$ alias copy='cp –rf'
To list all declared aliases, use the following command:
$ alias
To remove an alias, use the following command:
$ unalias copy
Comments
Post a Comment