[Free] 2017(Nov) Latesttests Examcollection LPI 101-400 Dumps with VCE and PDF 41-50

Latesttests
2017 Nov LPI Official New Released 101-400
100% Free Download! 100% Pass Guaranteed!
http://www.Latesttests.com/101-400.html

Linux Essentials Certificate Exam, version 1.5

Question No: 41 – (Topic 3)

Which of the following commands will output all of the lines with the name Fred in upper or lower case but not the word red from the file data_file? (Choose two)

  1. grep -v fred data_file

  2. grep #39;[f]red#39; data_file

  3. egrep fred data_file

  4. grep #39;[Ff]red#39; data_file

  5. grep -i fred data_file

Answer: D,E

Question No: 42 – (Topic 3)

Given a file called birthdays containing lines like:

YYYY-MM-DD Name 1983-06-02 Tim

1995-12-17 Sue

Which command would you use to output the lines belonging to all people listed whose birthday is in May or June?

  1. grep #39;[56]#39; birthdays

  2. grep 05?6? birthdays

  3. grep #39;[0-9]*-0[56]-#39; birthdays

  4. grep 06 birthdays | grep 05

Answer: C

Question No: 43 CORRECT TEXT – (Topic 3)

What two character sequence is present at the beginning of an interpreted script? (Please specify the TWO correct characters only)

Answer: #!

Question No: 44 – (Topic 3)

Which of the following command sequences overwrites the file foobar.txt?

  1. echo quot;QUIDQUIDAGISquot; gt;gt; foobar.txt

  2. echo quot;QUIDQUIDAGISquot; lt; foobar.txt

  3. echo quot;QUIDQUIDAGISquot; gt; foobar.txt

  4. echo quot;QUIDQUIDAGISquot; | foobar.txt

Answer: C

Question No: 45 – (Topic 3)

Which character starts a comment line in a shell script file?

  1. ;

  2. *

  3. #

  4. /

Answer: C

Question No: 46 – (Topic 3)

Which command chain will count the number of regular files with the name of foo.txt within

/home?

  1. ls -lR /home | grep foo.txt | wc -l

  2. find /home -type f -name foo.txt | wc -l

  3. find /home -name foo.txt -count

  4. find /home -name foo.txt | wc -l

  5. grep -R foo.txt /home | wc -l

Answer: B

Question No: 47 – (Topic 3)

How can the normal output of a command be written to a file while discarding the error output?

  1. command gt;2gt;file 1amp;gt;/dev/null

  2. command lt; output gt; /dev/null

  3. command gt; discard-error gt; file

  4. command gt; /dev/null 2amp;gt;1 output

  5. command gt;file 2gt;/dev/null

Answer: E

Question No: 48 – (Topic 3)

What is the output of the following command?

for token in a b c; do echo -n ${token}; done

  1. anbncn

  2. abc

  3. $token$token$token

D. {a}{b}{c}

E. a b c

Answer: B

Question No: 49 – (Topic 3)

What does the exit status 0 indicate about a process?

  1. The process ended without any problems.

  2. The process was terminated by the user.

  3. The process couldn#39;t finish correctly.

  4. The process waited for an input but got none.

  5. The process finished in time.

Answer: A

Question No: 50 – (Topic 3)

Which of the following commands can be used to extract content from a tar file?

  1. tar -xvf

  2. tar -vf

  3. tar -e

  4. tar -c

  5. tar -v

Answer: A

100% Free Download!
Download Free Demo:101-400 Demo PDF
100% Pass Guaranteed!
Download 2017 Latesttests 101-400 Full Exam PDF and VCE

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

2017 Latesttests IT Certification PDF and VCE

Leave a Reply

Your email address will not be published. Required fields are marked *