3 Months Free Update
3 Months Free Update
3 Months Free Update
What command will display the group names and GIDs to which a user belongs? (Provide only the command name with or without path information)
What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)
The correct crontab entry to execute the script chklog three times per month between 3 p.m. and 5 p.m.:
In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)
Which of the following steps prevents a user from obtaining an interactive login session?
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.)
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?
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 of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?
What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?
What command should be used to print a listing of email in the system's mail queue?
To exclude all log messages of a given logging facility, you should use a logging priority of _____ .
Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information? (Specify ONLY the option without any values or parameters.)
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 IPv4 networks are reserved by IANA for private address assignment and private routing? (Choose THREE correct answers.)
What is the lowest numbered unprivileged TCP port? (Specify the number in digits only.)
Which of the following lines are valid in the file /etc/hosts? (Choose TWO correct answers.)
Given the following routing table:
How would an outgoing packet to the destination 192.168.2.150 be handled?
Which of the following programs can be used to determine the routing path to a given destination?
Which of the following details is NOT provided in any output from the netstat utility?
What of the following can be done by the command ifconfig? (Choose TWO correct answers.)
Which of the following commands lists all defined variables and functions within Bash?
How can the existing environment variable FOOBAR be suppressed for the execution of the script./myscript only?
Which of the following configuration files should be modified to set default shell variables for all users?
Which of the following are requirements in order to run a shell script like a regular command from anywhere in the filesystem? (Choose THREE correct answers.)
Which directory in /etc is used to keep a sample copy of files and directories for when a new user has a home directory created? (Please provide the full path)
Which command makes the shell variable named VARIABLE visible to subshells?
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.)
What keyword is missing from this code sample of a shell script?
____ i in *.txt; do
echo $i
done
Which of the following entries in /etc/syslog.conf writes all mail related events to the file /var/log/maillog and sends all critical events to the remote server logger.example.com?
Which of the following connection types, as seen in unroll connection show, may exist in Network Manager? (Choose THREE correct answers.)
Given the following excerpt of the sudo configuration:
jane ANY=NOPASSWD: /bin/kill, /bin/id, PASSWD: /sbin/fdisk
Which of the following statements are true? (Choose three.)
Which of the following tasks can the date command accomplish? (Choose two.)
Which command included in systemd supports selecting messages from the systemd journal by criteria such as time or unit name? (Specify only the command without any path or parameters.)
What output is produced by the following command sequence?
echo ‘1 2 3 4 5 6’ | while read a b c; do
echo result $c $b $a;
done
Which of the following commands can identify the PID od a process which opened a TCP port?
Which command is used to set restrictions on the size of a core file that is created for a user when a program crashes?
With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled? (Specify only the environment variable without any additional commands or values.)
Which file lists which users can execute commands using sudo? (Specify the full name of the file, including path.)
Which of the following commands connects to the remote host example.com which has OpenSSH listening on TCP port 2222? (Choose TWO correct answers.)