By typing a manually specified command in terminal I want to execute some other command.
How could add an alias to a command? Can i do that with the help of the terminal or should I edit some kind of file?
aliasbashrccommand line
By typing a manually specified command in terminal I want to execute some other command.
How could add an alias to a command? Can i do that with the help of the terminal or should I edit some kind of file?
Best Answer
To create a permanent alias you have to edit the
.bashrc
file in your home directory.More info here
More .bashrc files here