LPI LINUX ESSENTIALS EXAM QUESTIONS
AND ANSWERS 2024/2025
If you wanted to disable a second network interference in Linux what command would you
enter at the shell?
→ ifdown eth1
You have been editing a configuration file using vi. You realize that you've made many
mistakes and need to quit without saving the changes so that you can start over. Which
command will allow you to do this?
→ :q! Or Q bang
What directory would the ~ character represent?
→ The home directory of the currently logged in user.
What is the default shell for most Linux distributions
→ Bash
You need to troubleshoot a hardware issue. Which command would let you view the kernel
ring buffer to see what hardware was just added?
→ dmesg | less (driver message)
Which of the following sections give a brief review of the syntax used for a particular
command or utility within a man page?
→ SYNOPSIS
1|Page| GradeA+ | 2 0 0 2 5
, 2 0 2 4 /2025 | © copyright | This work may not be copied for profit gain Excel!
In which directory could you add files so that a newly created user will automatically have
them when they first log in?
→ /etc/skel
Which of the following provides binary files containing prewritten code elements or interfaces
that programmers can call when writing Linux programs?
→ Libraries
You are running a ping command to see if a particular host is set up. How would you specify
to the ping command that only five packets get sent to the remote host?
→ ping -c 5 host.example.com
You need to verify that a remote host with a hostname of dns2.linuxacademy.com is up and
running. Which of the following commands would you enter at the shell prompt to do this?
→ ping dns2.linuxacademy.com
While using vi to edit a file in command mode, you try to use the BACKSPACE key to delete a
word, but nothing happens. What's wrong?
→ You have to switch to insert mode.
Which command would uncompress the contents in the file 'important.bz2'
→ bunzip2
How would you add a new user account to a system?
→ useradd newguy
1|Page| GradeA+ | 2 0 0 2 5