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

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: 31 – (Topic 3)

How can the current directory and its subdirectories be searched for the file named MyFile.xml?

  1. find . -name MyFile.xml

  2. grep MyFile.xml | find

  3. grep -r MyFile.xml .

  4. less MyFile.xml

  5. search Myfile.xml ./

Answer: A

Question No: 32 – (Topic 3)

The script, script.sh, consists of the following lines:

#!/bin/bash echo $2 $1

Which output will appear if the command, ./script.sh test1 test2, is entered?

  1. test1 test2

  2. test2 test1

  3. script.sh test2

  4. script.sh test1

  5. test1 script.sh

Answer: B

Question No: 33 – (Topic 3)

Which of the following commands will set the variable text to olaf is home? (Choose two)

  1. text=olaf\ is\ home

  2. text=$olaf is home

  3. $text=#39;olaf is home#39;

  4. text==#39;olaf is home#39;

  5. text=quot;olaf is homequot;

Answer: A,E

Question No: 34 – (Topic 3)

What is the correct command to extract the contents of the archive file download.bz2?

  1. unpack download.bz2

  2. unzip2 download.bz2

  3. bunzip2 download.bz2

  4. unzip download.bz2

  5. uncompress download.bz2

Answer: C

Question No: 35 – (Topic 3)

Which approach will provide a listing of the contents in a tar archive?

  1. Use the tar command with -t.

  2. Use the grep command.

  3. Use the find command.

  4. Use the zless command.

  5. Use the zlist command.

Answer: A

Question No: 36 – (Topic 3)

The output of the program date should be saved in the variable actdat. What is the correct statement?

  1. actdat=`date`

  2. set actdat=#39;date#39;

  3. date | actdat

  4. date gt; $actdat

  5. actdat=date

Answer: A

Question No: 37 – (Topic 3)

Which of the following commands will create an archive file, named backup.tar, containing all the files from the directory /home?

  1. tar /home backup.tar

  2. tar -cf /home backup.tar

  3. tar -xf /home backup.tar

  4. tar -xf backup.tar /home

  5. tar -cf backup.tar /home

Answer: E

Question No: 38 – (Topic 3)

Which of the following commands redirects the output of cmd to the file foo.txt, in which an existing file is overwritten?

  1. cmd || foo.txt

  2. cmd | foo.txt

  3. cmd amp;amp; foo.txt

  4. cmd gt;gt; foo.txt

  5. cmd gt; foo.txt

Answer: E

Question No: 39 – (Topic 3)

Which command will display the last line of the file foo.txt?

  1. head -n 1 foo.txt

  2. tail foo.txt

  3. last -n 1 foo.txt

  4. tail -n 1 foo.txt

Answer: D

Question No: 40 – (Topic 3)

What is the output of the following command sequence?

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

  1. anbncn

  2. a b c

C. quot;a quot; quot;b quot; quot;c quot;

  1. token token token

  2. abc

Answer: B

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 *