Skip survey header

Linux+ Practice Quiz: XK0-005 Quiz 20

Enjoy the following 10-question quiz from TestOut.

1. A shell script developer knows that the date +%A command gives the current local weekday name (Sunday, Monday, Tuesday, ...).

Which of the following commands will copy the authentication log file, /var/log/auth.log, to a new file with a filename that includes the current local weekday name?
2. Which of the following is a characteristic of a hard link?
3. Which of the following commands is the FASTEST method of searching a file for fixed strings rather than regular expressions?
4. An application named ABCD is generating system errors when it starts. Which of the following commands searches the system message log file for these errors?
5. Which of the following commands will display the current locale setting for the numeric values that are not monetary?
6. Which of the following has a process ID (PID) of 1?
7. You are experiencing a problem with one particular server. Each time it boots, it goes into single-user mode even though no warnings or errors are reported. You want to verify that it is configured to boot to the multi-user.target unit, just as all your other servers are. This system is running systemd.

Which command would you use to see which boot target is set as the default?
8. Which of the following is responsible for bringing up other units and services when boot targets are changed?
9. Which of the following desktops is the default for many Linux distributions, such as Fedora and Ubuntu?
10. Which of the following are popular Linux desktops? (Choose five)
This free quiz was provided by: