A script set to run using /bin/sh has executed a grep command, and grep has returned an error. If the grep result is analyzed by the following logic:
if [ "$?" = 0 ]
then
echo BLUE
else echo GREEN
fi
Which of the following will be the script's output?
A Linux machine has a local address of 192.168.1.1 with a subnet mask of 255.255.255.0. All services are currently denied. Which of the following lines should be appended to the hosts.allow file to permit access to the Web service on the local subnet?
After a company-standard installation, a user with a Swedish keyboard has the English character set loaded. Which of the following configuration files should be edited to support the specific country keyboard?
A server requires more swap space. A new swap partition is created at /dev/sdb2 using fdisk. After editing the configuration, which of the following commands is used to activate the new partition?
The command is -l file is issued, and the result is:
-rwxrw---x 5 root wheel 8192 Jan 01 21:00 file
Which of the following chmod commands corresponds to the current permissions of the file?
A user needs to attach a Linux laptop to a wireless access point using 802.11b. Which of the following applications would allow the user to configure the WEP (Wired Equivalent Privacy) key?