Which of the following commands can be used to expire an users account immediately?

 
 
 
 

What is the function of the file /etc/nologin if it exists?

 
 
 
 

Which command can you use to test if dns resolving is working?

 
 
 
 

In which file are the encrypted user passwords stored on a standalone linux server?

 
 
 
 

A server is booted in runlevel 3. Which command can a user type to start the graphical user interface without changing the runlevel?

 
 
 
 

What name is often used when referring to tcpd?

 
 
 
 

True or false?

Remote access to a server via ssh can be controlled using /etc/hosts.allow and /etc/hosts.deny

 
 

Look at the following line in a crontab file and then answer the question

*/30 [10-15] * * * ps | wc -l

How many times per day will this command be executed?

Type the command, without options and arguments, that can convert files from one character encoding into another  encoding?

The user root enters the following commands

[root@nms ~]# ifconfig eth0 10.010.0x10.1
[root@nms ~]# ifconfig eth0

Which ip address will be shown for eth0?

 

 

 
 
 
 

Which command is run daily from the periodic directory /etc/cron.daily that performs log file management?

 
 
 
 

Which of the following protocols are connection oriented?

 
 
 
 

What kind of files can you place in /etc/cron.weekly to perform routine system maintenance?

 
 
 
 

Observer the following output first. The answer the question.

[user@host ~]$ value=100
[user@host ~]$ echo 'The value is $value'

Which line will be printed on the terminal when the user presses enter?

 
 
 
 

Which file is the configuration file that sendmail uses?

 
 
 
 

Which DNS record is used by a mail server to determine to which server emails should be sent for a given domain?

 
 
 
 

Which command can be used to configure network settings?

 
 
 
 

What is the main difference between the commands sudo -i and su – if these commands where entered by regular users?

 
 
 
 

Select all commands that a user can enter to reread the config file ~/.bashrc without logging out first or creating a sub shell.

 
 
 
 

Observe the following first. Then answer the question.

[user@host demo]$ cat /etc/resolv.conf
nameserver 192.168.0.1
nameserver 8.8.8.8

When will this system query the name server with ip address 8.8.8.8?

 
 
 
 

Which command can you enter to see what reference system or clock is used by ntpd?

 
 
 
 

Which of the following is not a valid SQL command?

 
 
 
 

CUPS allows ppd files to be uploaded when configuring a printer.

What is a ppd file?

 
 
 
 

Look at the first lines in /etc/crontab and then answer the question.

# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user-name command to be executed

Which of the following lines in /etc/crontab will execute a command three times per day? Select all that apply

 
 
 
 

Enter the complete command that will instruct xclients to send their output to screen 0 of x-server 0 on a host with ip address 192.168.0.1


Question 1 of 25

Disclaimer: All information posted is written with the upmost care and valid at the time of writing. Changes in versions can supersede the provided information. Please use your own judgement.