Ensurepass

QUESTION 61 CORRECT TEXT

_________ /dev/sda3 will create a swap area on the device /dev/sda3.

 

Answer: /sbin/mkswap,mkswap

 

 

QUESTION 62

Which of the following commands will print to standard out only the lines that do not begin with # (pound symbol) in the file foobar?

 

A. /bin/grep ^# foobar

B. /bin/grep -v ^# foobar

C. /bin/grep #$ foobar

D. /bin/grep -v #$ foobar

 

Answer: B

 

 

QUESTION 63

Which of the following directories contains additional information about installed packages?

 

A. /usr/share/documentation

B. /usr/local/share/documentation

C. /usr/local/doc

D. /usr/share/doc

E. /usr/packages/doc

 

Answer: D

 

 

QUESTION 64

Given the following output: prompt> myapp [1]+ Stopped myapp prompt> Which of the following commands will resume executing the stopped process while allowing the user to continue to type commands at the command prompt?

 

A. bg myapp

B. continue myapp

C. exec myapp

D. fg myapp

E. myapp &

 

Answer: A

 

 

QUESTION 65

Which of the following utilities would an administrator use to change how often a filesystem check was performed over an EXT2 filesystem (without losing any data stored on that filesystem)?

 

A. mod2fs

B. fsck

C. tune2fs

D. mke2fs

E. fixe2fs

 

Answer: C

 

 

QUESTION 66

Which of the following is the proper device for the third partition, on the second hard disk, on the first IDE controller, on a PC system?

 

A. /dev/hdb3

B. /dev/hd1b3

C. /dev/hdc1b3

D. /dev/hdc1d2p3

 

Answer: A

 

 

QUESTION 67

Which of the following commands is used to dump files in octal format?

 

A. od

B. octdump

C. dumpoct

D. cat -o

 

Answer: A

 

 

QUESTION 68 CORRECT TEXT

The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only).

 

Answer: bus

 

 

QUESTION 69

Which of the following configuration files should be modified to disable the ctrl-alt-delete key combination?

 

A. /etc/keys

B. /proc/keys

C. /etc/inittab

D. /proc/inittab

E. /etc/reboot

 

Answer: C

 

 

QUESTION 70

All of the following commands will update the Modify timestamp on the file /tmp/myfile.txt EXCEPT:

 

A. file /tmp/myfile.txt

B. echo “Hello” >/tmp/myfile.txt

C. sed -ie “s/1/2/” /tmp/myfile.txt

D. echo -n “Hello” >/tmp/myfile.txt

E. touch /tmp/myfile.txt

 

Answer: A

 

 

Comments are closed.