[Free] 2018(Jan) EnsurePass Examcollection LPI 101-400 Dumps with VCE and PDF 51-60

Ensurepass.com : Ensure you pass the IT Exams
2018 Jan LPI Official New Released 101-400
100% Free Download! 100% Pass Guaranteed!

LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2

Question No: 51 – (Topic 3)

Which grep command will print only the lines that do not end with a / in the file foo?

  1. grep#39;/$#39; foo

  2. grep #39;/##39; foo

  3. grep -v #39;/$#39; foo

  4. grep -v #39;/##39; foo

Answer: C

Question No: 52 – (Topic 3)

Which of the following command sets the Bash variable named TEST with the content FOO?

  1. set TEST=quot;FOOquot;

  2. TEST = quot;FOOquot;

  3. var TEST=quot;FOOquot;

  4. TEST=quot;FOOquot;

Answer: D

Question No: 53 – (Topic 3)

What is the effect of the egrep command when the -v option is used?

  1. It enables color to highlight matching parts.

  2. It only outputs non-matching lines.

  3. It shows the command#39;s version information.

  4. It changes the output order showing the last matching line first.

Answer: B

Question No: 54 – (Topic 3)

In the vi editor, how can commands such as moving the cursor or copying lines into the buffer be issued multiple times or applied to multiple rows?

  1. By using the command :repeat followed by the number and the command.

  2. By specifying the number right in front of a command such as 4l or 2yj.

  3. By selecting all affected lines using the shift and cursor keys before applying the command.

  4. By issuing a command such as :set repetition=4 which repeats every subsequentcommand 4 times.

Answer: B

Question No: 55 – (Topic 3)

When running the command sed -e quot;s/a/b/quot; /tmp/file gt;/tmp/file

While /tmp/file contains data, why is /tmp/file empty afterwards?

  1. The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.

  2. The command sed did not match anything in that file therefore the output is empty.

  3. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens itfor reading.

  4. Redirection for shell commands do not work using the gt; character. It only works using the | character instead.

Answer: C

Question No: 56 – (Topic 3)

Which of the following commands moves and resumes in the background the last stopped shell job?

  1. run

  2. bg

  3. fg

  4. back

Answer: B

Question No: 57 – (Topic 3)

Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?

  1. lt;lt;

  2. lt;|

  3. !lt;

  4. amp;lt;

Answer: A Explanation:


Which of the following commands will NOT update the modify timestamp on the file


  1. file /tmp/myfile.txt

  2. echo quot;Helloquot; gt;/tmp/myfile.txt

  3. sed -ie quot;s/1/2/quot; /tmp/myfile.txt

  4. echo -n quot;Helloquot; gt;gt;/tmp/myfile.txt

  5. touch/tmp/myfile.txt Answer: A

Question No: 58 – (Topic 3)

Which character, added to the end of a command, runs that command in the background as a child process of the current shell?

A. !


  1. amp;

  2. %

  3. #

Answer: C

Question No: 59 CORRECT TEXT – (Topic 3)

Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)

Answer: mkdir, /usr/bin/mkdir

Question No: 60 – (Topic 3)

What is the default nice level when a process is started using the nice command?

A. -10

  1. 10

  2. 20

  3. 0

Answer: B

100% Ensurepass Free Download!
Download Free Demo:101-400 Demo PDF
100% Ensurepass Free Guaranteed!
101-400 Dumps

EnsurePass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

This entry was posted in 101-400 Latest Exam (Jan 2018) and tagged , , , , , , , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.