Question: Examine the sample /root/.bash_profile file shown next. Usingthe information presented in this chapter, describe what each lineof this file does. #.bash_profile # Get the aliases
Examine the sample /root/.bash_profile file shown next. Usingthe information presented in this chapter, describe what each lineof this file does.
#.bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
BASH_ENV=$HOME/.bashrc
USERNAME="root"
export USERNAME BASH_ENV PATH
Step by Step Solution
3.25 Rating (143 Votes )
There are 3 Steps involved in it
All the lines starting with are comments They are provided because to mention what the file is doing ... View full answer
Get step-by-step solutions from verified subject matter experts
