Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?
What command can be used to generate syslog entries of any facility and priority? (supply just the command name without a path)
After adding a new email alias to the configuration, which command must be run in order to ensure the MTA knows about it? (Specify the command without any path but including all required parameters.)
Which file, when using Sendmail or a similar MTA system, will allow a user to redirect all their mail to another address and is configurable by the user themselves?
After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer ' s queue? (Specify ONLY the command without any path or parameters.)
Which of the following may occur as a consequence of using the command ifconfig? (Choose THREE correct answers.)
What output will the following command sequence produce?
echo ' 1 2 3 4 5 6 ' | while read a b c; do
echo result: $c $b $a;
done
After issuing:
function myfunction { echo $1 $2 ; }
in Bash, which output does:
myfunction A B C
Produce?
Which of the following SQL queries counts the number of occurrences for each value of the field order_type in the table orders?
What keyword is missing from this code sample of a shell script?
____ i in *.txt; do
echo $i
done
What word is missing from the following SQL statement?
__________ count(*) from tablename;
(Please specify the missing word using lower-case letters only.)
By default, the contents of which directory will be copied to a new user ' s home directory when the account is created by passing the -m option to the useradd command? (Specify the full path to the directory.)
How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?
Which command can be used to investigate the properties for a particular window in X by clicking that window? (Specify ONLY the command without any path or parameters.)
Which of the following lines is an example of a correct setting for the DISPLAY environment variable?
X is running okay but you ' re concerned that you may not have the right color depth set. What single command will show you the running color depth while in X?
Your senior administrator asked you to change the default background of his machine, which uses XDM. Which file would you edit to achieve this?
What is the name of the simple graphical login manager that comes with a vanilla X11 installation? (Specify ONLY the command without any path or parameters.)
In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?
On a dual boot system, every time the system is booted back into Linux the time has been set backward by one day. Which of the following commands will correct the problem?
Which of the following are tasks handled by a display manager like XDM or KDM? (Choose TWO correct answers.)
What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?
Which of the following commands is used to rotate, compress, and mail system logs?
Which file inside the CUPS configuration directory contains the definition of the printers?
Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)
How is the file format of /etc/crontab different from a normal crontab file? (Select TWO correct answers)
On a system using shadowed passwords, the most correct permissions for /etc/passwd are ___ and the most correct permissions for /etc/shadow are _________.
Of the ways listed, which is the best method to temporarily suspend a user ' s ability to interactively login?
Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?
Which command should be added to /etc/bash_profile to change the language of messages from an internationalised program to Portuguese (pt)? (Select TWO correct answers)
Which of the following fields are available in both the global /etc/crontab file as well as in user-specific crontab files? (Select TWO correct answers)
Of the ways listed, which is the best way to temporarily suspend a single user ' s ability to interactively login?
Which of the following keywords can be used in the file /etc/resolv.conf? (Choose TWO correct answers.)
Which of the following tools used for DNS debugging, reports not only the response from the name server but also details about the query?
Which of the following commands will help identify a broken router between the local and the remote machine?
How many IP-addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/28? (Specify the number only without any additional information.)
What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)
With IPv6, how many bits have been used for the interface identifier of an unicast address? (Specify the number using digits only.)
Which of the following lines are valid in the file /etc/hosts? (Choose TWO correct answers.)
Which of the following commands can identify the PID od a process which opened a TCP port?
Which of the following find commands will print out a list of files owned by root and with the SUID bit set in /usr?
Which command included in NetworkManager is a curses application which provides easy acces to the NetworkManager on the command line? (Specify only the command without any path or parameters.)
What is the top-level directory which contains the configuration files for CUPS? (Specify the full path to the directory.)
How many IP addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/26?
Which directory holds configuration files for xinetd services? (Specify the full path to the directory
Given the following user ' s cronlab entry:
15 14 * * 1-5 /usr/local/bin/example.sh be executed?
When will the script /usr/local/bin/example.sh be executed?