Chapter 8 Flashcards
1
Q
Which of the following process attributes is not inherited to child processes?
A
shell aliases
2
Q
Shell functions defined in a user’s ~/.bashrc are intended for what?
A
interactive shells
3
Q
Which file is executed first by a login shell?
A
/etc/profile
4
Q
Environment variable settings usually go in which files?
A
/etc/profile and ~/.bash_profile
5
Q
Shell aliases usually go in which files?
A
/etc/bashrc and ~/.bashrc
6
Q
Shell functions usually go in which files?
A
/etc/bashrc and ~/.bashrc
7
Q
useradd copies what files into a newly-created home directory?
A
All files in /etc/skel
8
Q
When RPM packages are installed, they might put shell initialization files where?
A
In /etc/profile.d