Exam Details

  • Exam Code
    :010-100
  • Exam Name
    :Entry Level Linux Essentials Certificate of Achievement
  • Certification
    :LPI Linux Essentials
  • Vendor
    :Lpi
  • Total Questions
    :80 Q&As
  • Last Updated
    :May 16, 2024

Lpi LPI Linux Essentials 010-100 Questions & Answers

  • Question 41:

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

    A. find . -name MyFile.xml

    B. grep MyFile.xml | find

    C. grep -r MyFile.xml .

    D. less MyFile.xml

    E. search Myfile.xml ./

  • Question 42:

    What is the output of the following command?

    for token in a b c; do

    echo -n ${token};

    done

    A. anbncn

    B. abc

    C. $token$token$token

    D. {a}{b}{c}

    E. a b c

  • Question 43:

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

    A. #!

  • Question 44:

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

    A. actdat=`date`

    B. set actdat='date'

    C. date | actdat

    D. date > $actdat

    E. actdat=date

  • Question 45:

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

    A. head -n 1 foo.txt

    B. tail foo.txt

    C. last -n 1 foo.txt

    D. tail -n 1 foo.txt

  • Question 46:

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

    A. command >2>file 1and>/dev/null

    B. command < output > /dev/null

    C. command > discard-error > file

    D. command > /dev/null 2and>1 output

    E. command >file 2>/dev/null

  • Question 47:

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

    A. cmd || foo.txt

    B. cmd | foo.txt

    C. cmd andand foo.txt

    D. cmd >> foo.txt

    E. cmd > foo.txt

  • Question 48:

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

    A. Use the tar command with -t.

    B. Use the grep command.

    C. Use the find command.

    D. Use the zless command.

    E. Use the zlist command.

  • Question 49:

    Which of the following commands will output a list of all of the file names, under your home directory and all subdirectories, which have file names ending with .pdf?

    A. search .pdf

    B. ls -name -R '*.pdf'

    C. find /home/*.pdf

    D. find ~ -name '*.pdf'

  • Question 50:

    Which of the following commands increases the number of elements in a directory?(Choose two)

    A. touch newfile

    B. create newfile

    C. ls newfile

    D. rmdir newdirectory

    E. mkdir newdirectory

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Lpi exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your 010-100 exam preparations and Lpi certification application, do not hesitate to visit our Vcedump.com to find your solutions here.