LPIC-1 Linux Administrator
Shell Environment and Shell Scripts
Easy
8 of 20 questionsShell environment
- Which system-wide file does bash read first as a login shell?
- Which file in the home directory does an interactive bash read that is not a login shell?
- When does bash run the file ~/.bash_logout?
- A user has changed ~/.bashrc. How does the change take effect immediately in the running shell?
- Which notation is equivalent to source file.sh in bash?
- Which command, without arguments, shows all shell variables including functions?
- How do you add /opt/tools/bin to PATH without losing the existing entries?
- How do you create the alias ll for ls -l in bash?