Exam Details

  • Exam Code
    :101-400
  • Exam Name
    :LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2
  • Certification
    :LPI Certifications
  • Vendor
    :Lpi
  • Total Questions
    :179 Q&As
  • Last Updated
    :Mar 23, 2025

Lpi LPI Certifications 101-400 Questions & Answers

  • Question 81:

    Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?

    A. magic

    B. type

    C. file

    D. pmagic

    E. hash

  • Question 82:

    Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)

    A. find /tmp -uid root -print

    B. find -path /tmp -uid root

    C. find /tmp -user root -print

    D. find /tmp -user root

    E. find -path /tmp -user root print

  • Question 83:

    When running the command

    sed -e "s/a/b/" /tmp/file >/tmp/file

    While /tmp/file contains data, why is /tmp/file empty afterwards?

    A. The file order is incorrect. The destination file must be mentioned before the command to ensure redirection.

    B. The command sed did not match anything in that file therefore the output is empty.

    C. When the shell establishes the redirection it overwrites the target file before the redirected command starts and opens it for reading.

    D. Redirection for shell commands do not work using the > character. It only works using the | character instead.

  • Question 84:

    Which of the following command sets the Bash variable named TEST with the content FOO?

    A. set TEST="FOO"

    B. TEST = "FOO"

    C. var TEST="FOO"

    D. TEST="FOO"

  • Question 85:

    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 86:

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

    A. vi starts and loads the last file used and moves 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 87:

    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 88:

    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 89:

    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 90:

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