System Management
A Linux administrator wants a custom alias to be available every time a user opens a new terminal window in a graphical desktop session, where each terminal starts an interactive non-login Bash shell. The alias must apply only to this user. Which file should the administrator edit?
Show the answer
Correct answerB. ~/.bashrc
~/.bashrc is read by interactive non-login Bash shells, such as a terminal opened in a desktop session, and is per-user. ~/.bash_profile is read only by login shells, so an alias placed there would not load in new terminal windows.