Flashcards in Fill in the Blank Linux 2 Deck (26):
What word will complete an if statement in bash such as the following:
if [ -x"$file" ]; then echo $file _____
What word is missing from the following SQL statement? update tablename_____ fieldname='value' where id=909;
what word is missing from the following SQL statement
Insert into tablename____(909, 'text');
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 word is missing from the following SQL statement?
______ count(*) from tablename;
What is the default name of the configuration file for the Xorg X11 server?
What is the name of the simple graphical login manager that comes with a vanilla X11 installation
In which file, if present, must all users be listed that are allowed to use the cron scheduling system
Which command is used to add an empty group to the system
Which command, available with all MTAs, is used to list the contents of the MTA's mail queue?
Please specifiy the top directory containing the configuration files for the CUPS printing system
Which command is used to manually assign an IP address to a network interface
What is the assigned port number for the HTTP service?
Given the following line from /etc/nsswitch.conf:
hosts: files mdns4_minimal
[NOTFOUND=return] dns mdns4
By default, which file will be queried first for hostname lookups?
What is the name of the file that defines the sources (like DNS or local configuration files) and the order in which they are consulted when resolving hostnames?
How many IP-addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/28
What is the lowest numbered unprivileged TCP port
Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics?
Which port is the default server port for the HTTPS protocol
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
In an xinetd configuration file, which attribute specifies the network address that will be used to provide the service
`What argument to the -type option of find will match files that are symbolic links
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
The presence of what file will temporarily prevent all users except root from logging into the system
Instead of using specific host names or IP addresses, which string can be used in /etc/hosts.allow entries to cover any remote host no matter of its name or address