Which of the following is a requirement of the GPL license but not the BSD license?
A. Users who modify and distribute the software under the GPL license, must make the modifications they made, available to the recipients under the same license.
B. The GPL license forbids the removal of copyright and license notices from source code files that are distributed.
C. The GPL license contains a disclaimer of warranty requiring users not to hold the software authors liable for any damages.
D. The GPL license requires that any legal disputes be settled with the mediation of the Free Software Foundation.
Which of the following commands will output all of the lines with the name Fred in upper or lower case but not the word red from the file data_file?(Choose two)
A. grep -v fred data_file
B. grep '[f]red' data_file
C. egrep fred data_file
D. grep '[Ff]red' data_file
E. grep -i fred data_file
Which approach will provide a listing of the contents in a tar archive?
A. Use the tar command with -t.
B. Use the grep command.
C. Use the find command.
D. Use the zless command.
E. Use the zlist command.
What is the output of the following command?
for token in a b c; do
echo -n ${token};
done
A. anbncn
B. abc
C. $token$token$token
D. {a}{b}{c}
E. a b c
Which character starts a comment line in a shell script file?
A. ;
B. *
C. #
D. /
Which criteria are useful when deciding which operating system to use? (Select THREE answers)
A. License costs.
B. Ideological preferences of the system administrator.
C. Linux can do everything, there is no need for further evaluation.
D. Availability of mandatory applications and tools.
E. Skills of the administrators and staff.
What is the command that will show system boot time messages?
A. dmesg
B. echo
C. lspci
D. display system boot
E. messages
A Linux computer has no access to the internet. Which command displays information about the network gateway for the system?
A. traceroute
B. ifconfig
C. gateway
D. route
E. ipconfig
What is the usual absolute path of the personal directory for the user foo?
A. /home/foo, /home/foo/
Which TWO commands can be used to make the file /tmp/foo.txt readable for all users?
A. chmod 111 /tmp/foo.txt
B. chmod 444 /tmp/foo.txt
C. chmod 770 /tmp/foo.txt
D. chmod 644 /tmp/foo.txt
E. chmod 640 /tmp/foo.txt