Skip survey header

Linux+ Practice Quiz: XK0-005 Quiz 14

Enjoy the following 10-question quiz from TestOut.

1. Anna, a system administrator, wants to set an environment variable that can be used each time she logs in. Currently, Anna has to set the variable each time a terminal is opened.

Which of the following files would Anna need to modify to make the variable a global environment variable? (Choose two)
2. You want to view the number of commands your bash shell is set to save by examining the current HISTSIZE environment variable. You don't want to have to scroll through all the environment variables.

Which of the following commands is the BEST way to determine the current value of the HISTSIZE variable?
3. Which of the following commands will (by itself) copy the entire /temp directory with all of its files, sub-directories, and files in the sub-directories to the /home/gshant directory? (Choose two)
4. Which of the following commands displays an expanded listing that includes the owner and size of all the files in the /etc directory?
5. The diff command displays the differences between two files, line by line, and includes several options. You want to use the diff command to compare the differences between the q1results.txt and the q2results.txt files, with the output displayed in two columns.

Which of the following diff options would you use to display the two column output?
6. Which of the following is a valid metacharacter that can be used in the bash shell to escape or ignore the shell's special meaning for the character that immediately follows?
7. Which of the following users MOST benefit from the sticky keys accessibility option?
8. Which of the following utilities should you use if you need to extract a file from an RPM package file?
9. Which of the following commands will check for dependencies before loading the gameport module in the kernel?
10. Which of the following commands will check for dependencies before removing the debug module from the kernel?
This free quiz was provided by: