Exam Details

  • Exam Code
    :101-500
  • Exam Name
    :LPIC-1 Exam 101 - Part 1 of 2 - version 5.0
  • Certification
    :LPI Other Certification
  • Vendor
    :Lpi
  • Total Questions
    :250 Q&As
  • Last Updated
    :Apr 30, 2024

Lpi LPI Other Certification 101-500 Questions & Answers

  • Question 1:

    Which wildcards will match the following filenames? (Choose two.) ttyS0 ttyS1 ttyS2

    A. ttyS[1-5]

    B. tty?[0-5]

    C. tty*2

    D. tty[A-Z][012]

    E. tty[Ss][02]

  • Question 2:

    Which of the following commands redirects the output of ls to standard error?

    A. ls >-1

    B. ls <

    C. ls >and2

    D. ls >>2

    E. ls |error

  • Question 3:

    What is true regarding the command ls > files if files does not exist?

    A. The output of ls is printed to the terminal

    B. files is created and contains the output of ls

    C. An error message is shown and ls is not executed

    D. The command files is executed and receives the output of ls

    E. Any output of ls is discarded

  • Question 4:

    Which of the following files, located in a user's home directory, contains the Bash history?

    A. .bashrc_history

    B. .bash_histfile

    C. .history

    D. .bash_history

    E. .history_bash

  • Question 5:

    Which of the following commands displays the path to the executable file that would be executed when the command foo is invoked?

    A. lsattr foo

    B. apropos foo

    C. locate foo

    D. whatis foo

    E. which foo

  • Question 6:

    When redirecting the output of find to the xargs command, what option to find is useful if the filenames contain spaces?

    A. ep-space

    B. -printnul

    C. -nospace

    D. gnore-space

    E. rint0

  • Question 7:

    Which command must be entered before exiting vi to save the current file as filea.txt?

    A. %s filea.txt

    B. %w filea.txt

    C. :save filea.txt

    D. :w filea.txt

    E. :s filea.txt

  • Question 8:

    Which of the following commands displays the output of the foo command on the screen and also writes it to a file called /tmp/foodata?

    A. foo | less /tmp/foodata

    B. foo | cp /tmp/foodata

    C. foo > /tmp/foodata

    D. foo | tee /tmp/foodata

    E. foo > stdout >> /tmp/foodata

  • Question 9:

    What output will be displayed when the user fred executes the following command? echo `fred $USER'

    A. fred fred

    B. fred /home/fred/

    C. `fred $USER'

    D. fred $USER

    E. `fred fred'

  • Question 10:

    Which of the following commands changes all CR-LF line breaks in the text file userlist.txt to Linux standard LF line breaks and stores the result in newlist.txt?

    A. tr `\r' < userlist.txt > newlist.txt

    B. tr `\n\r' `' userlist.txt

    C. tr `\r\n' `' newlist.txt

    D. tr `\r' `\n' userlist.txt newlist.txt

    E. tr `/^M/^J/' userlist.txt newlist.txt

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 101-500 exam preparations and Lpi certification application, do not hesitate to visit our Vcedump.com to find your solutions here.