InterviewSolution
Saved Bookmarks
| 1. |
What are aliases and how to create them with examples ? |
|
Answer» Aliases are abbreviated shortcuts used to represent a COMMAND or a group of COMMANDS executed with or WITHOUT custom options. #Alias for log directory alias logs="cd /USER/application/logs"These aliases can be PUT in the ~/.bash_aliases file. To have the aliased command on any existing terminal, user needs to source ~/.bashrc from the terminal : source ~/.bashrc |
|