Exam Details

  • Exam Code
    :101-500
  • Exam Name
    :LPIC-1 - Exam 101 - version 5.0
  • Certification
    :LPI Certifications
  • Vendor
    :Lpi
  • Total Questions
    :250 Q&As
  • Last Updated
    :Apr 04, 2025

Lpi LPI Certifications 101-500 Questions & Answers

  • Question 131:

    Which variable defines the directories in which a Bash shell searches for executable commands?

    A. BASHEXEC

    B. BASHRC

    C. PATH

    D. EXECPATH

    E. PATHRC

  • Question 132:

    Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?

    A. SIGTERM

    B. SIGINT

    C. SIGSTOP

    D. SIGKILL

  • Question 133:

    What happens after issuing the command vi without any additional parameters?

    A. vi starts and loads the last file used andmoves the cursor to the position where vi was when it last exited.

    B. vi starts and requires the user to explicitly either create a new or load an existing file.

    C. vi exits with an error message as it cannot be invoked without a file name to operate on.

    D. vi starts in command mode and opens a new empty file.

    E. vi starts and opens a new file which is filled with the content of the vi buffer if the buffer contains text.

  • Question 134:

    Which of the following commands will print the last 10 lines of a text file to the standard output?

    A. cat -n 10 filename

    B. dump -n 10 filename

    C. head -n 10 filename

    D. tail -n 10 filename

  • Question 135:

    Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

    A. fmt -f 1,4 /etc/passwd

    B. split -c 1,4 /etc/passwd

    C. cut -d : -f 1,4 /etc/passwd

    D. paste -f 1,4 /etc/passwd

  • Question 136:

    Which of the following commands will reduce all consecutive spaces down to a single space?

    A. tr '\s' ' ' < a.txt > b.txt

    B. tr -c ' ' < a.txt > b.txt

    C. tr -d ' ' < a.txt > b.txt

    D. tr -r ' ' '\n' < a.txt > b.txt

    E. tr -s ' ' < a.txt > b.txt

  • Question 137:

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

    A. !

    B. +

    C. and

    D. %

    E. #

  • Question 138:

    In the vi editor, which of the following commands will copy the current line into the vi buffer?

    A. c

    B. cc

    C. 1c

    D. yy

    E. 1y

  • Question 139:

    Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)

    A. esc ZZ

    B. ctrl :w!

    C. esc zz

    D. esc :wq!

    E. ctrl XX

  • Question 140:

    When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process?

    A. -10

    B. 0

    C. 10

    D. 20

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.