|
Question |
Rating |
View Answer |
|
You have configured logrotate to rotate your logs weekly and keep them for eight weeks. You are running our of disk space. What should you do? Choose one:
a. Quit using logrotate and manually save old logs to another location. b. Reconfigure logrotate to only save logs for four weeks. c. Configure logrotate to save old files to another location. d. Use the prerotate command to run a script to move the older logs to another location. |
|
View Answer |
|
When looking at the /etc/passwd file, you notice that all the password fields contain 'x'. What does this mean? Choose one:
a. That the password is encrypted. b. That you are using shadow passwords. c. That all passwords are blank. d. That all passwords have expired. |
|
View Answer |
|
What is contained in the directory /proc? Choose one:
a. System information b. Administrative procedures c. Boot procedures d. Documentation on your system |
|
View Answer |
|
You wish to restore the file memo.ben which was backed up in the tarfile MyBackup.tar. What command should you type? |
|
View Answer |
|
A variable that you can name and assign a value to is called a _____________ variable. |
|
View Answer |
|
Your company has implemented a policy that users' passwords must be reset every ninety days. Since you have over 100 users you created a file with each username and the new password. How are you going to change the old passwords to the new ones? Choose one:
a. Use the chpasswd command along with the name of the file containing the new passwords. b. Use the passwd command with the -f option and the name of the file containing the new passwords. c. Open the /etc/passwd file in a text editor and manually change each password. d. Use the passwd command with the -u option. |
|
View Answer |
|
Which file defines all users on your system?
Choose one: a. /etc/passwd b. /etc/users c. /etc/password d. /etc/user.conf |
|
View Answer |
|
You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose. |
|
View Answer |
|
What text filter can you use to display a binary file in octal numbers? |
|
View Answer |
|
Which password package should you install to ensure that the central password file couldn't be stolen easily? |
|
View Answer |
|
Which of the following interprets your actions when typing at the command line for the operating system? Choose One
a. Utility b. Application c. Shell d. Command |
|
View Answer |
|
What Is Linux? |
|
View Answer |
|
After creating a backup of the users' home directories called backup.cpio you are asked to restore a file called memo.ben. What command should you type? |
|
View Answer |
|
As the system administrator you have created a directory containing some scripts that you have written. You want to have all your users to be able to run this scripts. Which file should you edit to ensure that the scripts will run without your users having to type the complete path to the script? Choose one:
a. ~/.profile b. /etc/profile c. /etc/bash d. ~/.bash |
|
View Answer |
|
You want to verify which lines in the file kickoff contain 'Bob'. Which of the following commands will accomplish this? Choose one:
a. sed -n /Bob/p kickoff b. sed /Bob/p kickoff c. sed -n 'Bob p' kickoff d. sed /Bob/ kickoff |
|
View Answer |
|
What key combination can you press to suspend a running job and place it in the background? |
|
View Answer |
|
Who Wrote Linux? |
|
View Answer |
|
What type of local file server can you use to provide the distribution installation materials to the new machine during a network installation?
|
|
View Answer |
|
You want to search for sale and sales. What regular expression should you use? Choose one:
a. sale* b. sale? c. ^sale d. sale$ |
|
View Answer |
|
What is the minimum number of partitions you need to install Linux? |
|
View Answer |