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


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

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


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


Which of the following commands will show a list of all tcp ports that this server is listening on and the associated processes?


What name is often used when referring to tcpd?


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

What is a ppd file?


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


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?


Which of the following is not a valid SQL command?


Observe the following first. Then answer the question.

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

When will this system query the name server with ip address


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?

Which of the following protocols are connection oriented?


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


Which file has to be installed on a remote server when configuring ssh to login in using a public and private key?


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?


Type the absolute pathname of the directory that contains files the will be copied to a users home directory when a new account is created.

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


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


Observe the following first, then answer the question

[user@host ~]$ [[ -x questions.txt ]] &&  exit 3
[user@host ~]$ ls -l
total 0
-rw-rw-r--. 1 user user 0 Feb 14 22:59 questions.txt
[user@host ~]$ [[ -x questions.txt ]] &&  exit 3

What will happen when the user presses enter to execute this command?


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


Type the command, without options or arguments, that you will use to enter a (sequence of) commands that will be run one time in the future?

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?




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.