Final - Chapter 8 Flashcards
1
Q
- You have obtained a new utility, called watchit, to monitor security on your computer, and you decide to run the utility in the background. Normally, to start the
utility you would enter watchit at the command line. Which of the following commands enables you to start and run this utility in the background?
a. hide watchit
b. watchit&
c. sh -h watchit
d. shh watchit
A
B
2
Q
- You’ve obtained over a hundred large graphics files to use in publications, but you want to be sure there is enough available disk space on your computer to store these files. Which of the following commands should you use?
a. df
b. diskfree
c. ls –space
d. Netstat
A
A
3
Q
- Your company is launching a marketing campaign, and to start, you’ve created a file
called promotion in normal uppercase and lowercase letters that will be used to place
text for ads on the Internet and in newspapers. When you show the promotional text to your boss, she is curious about how it would look in all uppercase letters for emphasis.
Which of the following commands enables you to convert the text and
save the result to the file, promotion_uppercase?
a. cat -u promotion | promotion_uppercase
b. case [a-z] [A-Z] promotion»_space; promotion_uppercase
c. case -u promotion > promotion_uppercase
d. dd if=promotion of=promotion_uppercase conv=ucase
A
D
4
Q
4. Which of the following can you restore from a backup tape made via the dump command? (Choose all that apply.) a. a file b. a partition of directories and files c. a directory d. a subdirectory
A
ALL
5
Q
- Your network has a combination of Linux and Microsoft Windows computers.There
is a Windows server that offers shared files for clients to access.Which of the following
enables you to access the shared files from your Linux computer?
a. Windows Share
b. Network Share
c. Samba
d. Leopard
A
C
6
Q
- You help manage the Linux server for your department. Right now the server has no protection against power failures and there have been several power failures recently. To help make your case for a power protection device, you want to keep track of the amount of time the server has been running since the last power outage that caused it to go down. What command enables you to track how long the server has been up?
a. top
b. uptime
c. df
d. Boot
A
B
7
Q
- You’ve purchased a new program for your computer, but the computer seems to slow down when you run the program. Which of the following commands enables you to monitor the memory usage as you run the program so you can determine if the program is a memory hog?
a. free
b. memuse
c. mu
d. Test
A
A
8
Q
- You are working on a report about disk usage on your company’s server to help
determine if it is time to purchase additional disks. Which of the following commands enables you to obtain disk usage statistics for your report?
a. free -t
b. dd -of
c. top -d | more
d. du -h | more
A
D
9
Q
- When you create a section name in a man page, such as the DESCRIPTION section, what tag should you use just before the section name?
a. .TH
b. .SS
c. \SC
d. .SH
A
D
10
Q
10. Which of the following are levels of backups that can be made with the dump command? (Choose all that apply.) a. 0 b. 5 c. 15 d. 20
A
A and B
11
Q
- How can you specify which device to use for a restore from a backup tape created by
the dump command?
a. Use the –device option.
b. Use the parameter, output=devicename.
c. Use the -f option.
d. Use the -i option so that you can do the restore from the interactive mode and select the device on the fly.
A
C
12
Q
- You’ve opened your mail on the company’s server by using the mail command. Several
messages are listed. How can you tell which ones are new or unopened
messages?
a. New messages begin with number 1 and unopened ones begin with the number 2.
b. New or unopened messages begin with an N or a U.
c. Both new and unopened messages begin with the tag,“unopened”.
d. New and unopened messages begin with a closed folder symbol.
A
B
13
Q
- You suspect that your computer’s connection to the network is not working because
you don’t seem to be able to connect to the Internet through the network.Which of
the following commands can help you determine if your connection is working?
(Choose all that apply.)
a. ping
b. netconnect
c. df
d. tr
A
A
14
Q
- You are setting up NFS to share files on the network from your Fedora Linux
computer.Which of the following is a service that must be running to enable you to
use NFS for sharing files?
a. NFSstart
b. share
c. portmap
d. netlink
A
C
15
Q
15. What is the command that you can use (from root) to start the service mentioned in Question 14? a. service b. start c. init d. go
A
A
16
Q
- In the following command, what is the purpose of -o?
find . “( “ -name a.out -o -name core “)”
a. It tests for the existence of files.
b. It is the “OR” operator.
c. It directs output to the core file.
d. It directs output to the a.out file.
A
B