Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
12 Cards in this Set
- Front
- Back
After a user starts a Bash session and the scripts in /etc/profile are applied, what is the next file that could affect the shell session?
|
~/.bash_logout
~/.bash_profile ~/.bash_login ~/.profile |
|
A user is requesting that each time she logs in, a particular entry be written to a log file. This will only apply to her and she is using a Bash shell. In which configuration file would you make an entry for this action to take place?
|
.sh
.bashrc .profile /etc/profile |
|
All users at your site are using Bash shell. you want to set a variable that will apply to every user and always have the same value. Which file would you place the variable in?
|
.bashrc
/etc/profile .bash_logion .bash_profile |
|
Your default runlevel on your Linux system is set to a textural, mulit-user mode; however, you want the X Windoes System to launch when you log into the system. Which file should you edit?
|
`/.profile
~/.bash_log ~/.bash_logout ~/.bash_login |
|
You are working at the command line and you need to start a new Borne-again (shell) session. What should you type?
|
?
|
|
Which of the following options is the standard shell for most Linux computers?
|
Bourne shell
C-shell tcsh Bourne-again shell (bash) Korn |
|
You have an executable file name --ni-- that allows you to save a snapshot of your network information with that date and time into a log file. The file is in the /root directory and /root is the current working directory. How would you run the executable file? (Select 2)
|
./ni
source ni ni /root/ni |
|
What command should you enter to see a list of all commands you recently used at the computer promt?
|
chsh
uname history clear |
|
What line must you ass to /etc/profile to make sure /sbin/custom is always part of the PATH, but also keep all current entries in the PATH statement?
|
?
|
|
Which of the following file would you use to create aliases that are applied when a specific user starts a BASH session? (select 2)
|
/etc/profile
~/.bashrc ~/.profile ~/.bash_logout |
|
What is the result of the uname -a command?
|
- Displays the current username
- Displays the current working directory - All system information is displayed on the screen - Shows names of file and directories in the current directory |
|
Which command will display the present working directory?
|
?
|