Ensurepass

QUESTION 211 CORRECT TEXT

An administrator has sent their current vi process with a PID of 1423 to the background on the command line. Assuming no other processes are in the background, what single command with no options or parameters will bring the vi process to the foreground?

Answer: fg


QUESTION
212

Bob accidentally created the subdirectory \bobsdir in his home directory. He tried to remove the subdirectory with the command rmdir \bobsfile only to receive the error, “No such file or directory.” Which command will remove the directory?

A. rmdir ‘bob/\bobsdir’

B. rmdir “bob/\bobsdir”

C. rmdir ~bob/ ‘bobsdir’

D. rmdir bob/\bobsdir

E. rmdir ~bob/\\bobsdir

Answer: E


QUESTION
213

While editing a file in vi, you realize that you are changing the wrong file. What vi command sequence will allow you to quit without saving your changes?

A. :Q!

B. :q!

C. :w!

D. :wq!

Answer: B


QUESTION
214

Which command will allow an administrator to adjust the number of mounts after which an existing filesystem will be checked by e2fsck?

A. debugfs

B. dumpe2fs

C. mode2fs

D. tune2fs

E. mke2fs

Answer: D


QUESTION
215 CORRECT TEXT

You want to display all currently mounted file systems. Which command would you use? (Please enter only the command without arguments or options)

Answer:

mount

/bin/mount

df

/bin/df


QUESTION
216 CORRECT TEXT

The/etc/ ________ file lists currently mounted devices.

Answer: mtab


QUESTION
217

Which of the following is true when hard-linked files are present?

A. The output of stat will report “hard” instead of “regular file”

B. The hard-linked files may not be empty

C. Both files will share the same inode

D. Issuing a long directory listing with ls -1 will indicate the link with “->”

E. The file permissions will be prefixed by an “h”, eg. hrwxr-x-r-x

Answer: C


QUESTION
218 CORRECT TEXT

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

Answer:

mkswap

/sbin/mkswap


QUESTION
219 CORRECT TEXT

What umask value will result in the default access permissions of 600 (rw——-) for files and 700 (rwx ——) for directories? (Provide only the numerical umask value)

Answer:

077

0077


QUESTION
220 CORRECT TEXT

Which command will convert an RPM package file to a cpio archive? (Provide only the command with no options or parameters)

Answer: rpm2cpio

Download Latest LPI 117-101 DUMPS Real Free Tests , help you to pass exam 100%.

Comments are closed.