What should you do if you want to define alias commands so that each time you open a terminal window those aliases are available from the command prompt?


What should you do if you want to define alias commands so that each time you open a terminal window those aliases are available from the command prompt?
A . Create a file named -/.alias and put your alias commands in That file.
B . This cannot be done since aliases are session specific only.
C . List all your aliases you have defined by entering the alias –list command and piping the output to the -Abashrc file.
D . Modify the /etc/.history/USER_NAME file to include your alias commands.
E . When you create the alias initially, specify the –keep parameter.

Answer: D

Leave a Reply

Your email address will not be published.