LCP-001 Dumps LCP-001 Braindumps

LCP-001 Real Questions LCP-001 Practice Test LCP-001 Actual Questions


GAQM


LCP-001


Linux Certified Professional (LCP) Powered by LPI


https://killexams.com/pass4sure/exam-detail/LCP-001


QUESTION: 284

Which option to the tee command will cause the output to be concatenated on the end of the output file instead of overwriting the existing file contents?


  1. -a

  2. -c

  3. -no-clobber

  4. -continue


Answer: A


QUESTION: 285

The system configuration file namedis commonly used to set the default runlevel. (Please provide the fill name with full path information)

Answer:


Answer:

/etc/inittab


QUESTION: 286

Which of the following commands will write a message to the terminals of all logged in users?


  1. bcast

  2. mesg

  3. print

  4. wall

  5. yell


Answer: D


QUESTION: 287

Which of the following explanations are valid reasons to run a command in the background of your shell?


  1. The command does not need to execute immediately.


  2. The command has to run immediately but the user needs to log out.

  3. The system is being shut down and the command needs to restart execution immediately after the reboot.

  4. The command can run at a lower priority than normal commands run on the command line.


Answer: B


QUESTION: 288

The system configuration file namedis commonly used to set the default runlevel. (Please provide the fill name with full path information)


Answer:

/etc/inittab


QUESTION: 289

In the vi editor, which of the following commands will copy the current line into the vi buffer?


  1. c

  2. cc

  3. 1c

  4. yy

  5. 1y


Answer: D


QUESTION: 290

Which program updates the database that is used by the locate command?


Answer:

updatedb

/usr/bin/updatedb


QUESTION: 291

What does the + symbol mean in the following grep regular expression: grep '^d[aei]\+d$'


/usr/share/dict/words


  1. Match the preceding character set ([aei]) one or more times.

  2. Match the preceding character set ([aei]) zero or more times.

  3. Match the preceding character set ([aei]) zero or one times.

  4. Match a literal + symbol.


Answer: D


Explanation:

The answer should be “Match a literal + symbol” because there is a backslash symbol before the plus, so it should match a literal +.


QUESTION: 292

Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Select TWO correct answers)


  1. FIND

  2. ID

  3. LABEL

  4. NAME

  5. UUID


Answer: C, E