All questions

LPI Linux Essentials Practice Exam

Browse all practice questions for the LPI Linux Essentials Practice Exam. Search by topic, open any question and review its full explanation, then test yourself in the practice quiz.

LPI Linux Essentials Complete Practice Exam 2026 course image
All questions

These questions are part of the practice quiz. Start practicing

  • Which command will display the contents of a text file page by page?
  • Which command can be used to see who is currently logged into the system?
  • What command would you use to remove a directory?
  • What utility is commonly used to find and display manual pages?
  • Which command is used to change the working directory?
  • What command would copy all files ending in .pdf to the Documents directory?
  • Which command is used to connect to an SSH server as the 'stephen' user?
  • Which file contains encrypted passwords for users on a Linux system?
  • Which command would you use in Linux to temporarily suspend a process?
  • If your first NIC is aliased as eth0, what is the most likely alias for a second network interface?
  • What is the purpose of the '~/bin' directory?
  • To search for man pages related to the Samba daemon, which command should be used?
  • Which command is used to copy files in Linux?
  • What command is used to list all files and directories in the current directory?
  • Which interface is commonly used to connect to a Linux server remotely?
  • Which command will delete a word in vi without removing the following space?
  • What does the command 'whoami' return?
  • What should the first line of a bash shell script typically contain?
  • What is one basic troubleshooting step when a networked printer is not responding?
  • What is the significance of the '/etc' directory?
  • What command is typically used to create a new directory in Linux?
  • Which command is used to list files and directories in the current directory?
  • What command would you use to search for specific text inside multiple files?
  • Which command displays the current running processes in the terminal?
  • How can you view the processes currently running on a Linux system?
  • You've downloaded an application package that has an extension of .rpm. What is required to install it on your Linux system?
  • How do you change directories in Linux?
  • How would you limit the ping command to send only five packets to a remote host?
  • Which of the following files is typically used for user-specific bash configurations?
  • Which directory contains filesystem management utilities like cp and mv?
  • What would be the result of running a script without executing permissions?
  • Which command is used to install software packages in a Debian-based system?
  • What does the 'ping' command do?
  • Which component provides prewritten binary files that programmers can use in their Linux applications?
  • What is the purpose of the 'df' command?
  • In Linux, what is the default shell?
  • What command is used to display the content of a file in the terminal?
  • Which command is used to list files in a directory?
  • Which command is used to copy files or directories in Linux?
  • When it comes to bash configuration files, which of the following will be read/executed when logging into a shell that is considered to be a non-login shell?
  • What does the 'chmod' command do in Linux?
  • What is the default file permission for a newly created file for the user?
  • What is the effect of adding `export PATH="$PATH:/new/path"` in a bash configuration file?
  • What is necessary to execute a program directly in the terminal?
  • What is the purpose of the 'kill' command?
  • Which command is used to display the contents of a compressed file?
  • What does the 'pwd' command display?
  • What does the command 'pwd' do?
  • Which software development model is recognized as being less structured compared to others?
  • What symbol is used to represent the home directory in Linux?
  • What does the command 'chmod' do?
  • What can you do if you get an invalid command error when trying to execute a copied script?
  • What file contains user account information in Linux?
  • What command will show your system's current working path?
  • Which command helps in finding out disk usage of directories?
  • Which command can be used to check the current value of the PATH environment variable?
  • Which of the following files would be checked for additional user-specific configurations after /etc/profile?
  • What command can you use to display network configuration in Linux?
  • When using the 'grep' command, what functionality does the '-i' option provide?
  • Which of the following are actually roles of the Linux system?
  • What does the 'tar -cvf' command do in Linux?
  • Which command provides a list of all running processes on the system?
  • What command would you use to find a file named 'test.txt'?
  • Which keyword is used to refer to the absolute path in Linux?
  • Which environment variable points to the current user's home directory?
  • Which software movement is against proprietary software?
  • What does the 'kill' command do?
  • Which command would you use to view the manual pages in Linux?
  • Which command would you use to check network connections in Linux?
  • Which command provides a way to terminate a process safely from the command line?
  • In the vi editor, which key combination exits insert mode?
  • In a Linux environment, what does the tilde (~) character represent?
  • What is a shell in the context of Linux?
  • How do you install a package using APT?
  • What is the purpose of the 'ping' command?
  • What does the command 'grep' do?
  • What does the term 'root' user refer to in Linux?
  • To view the kernel ring buffer and check for newly added hardware, which command should you use?
  • In a man page, what section contains related man pages or other resources?
  • Which command will send the output of the 'who' command to a text file?
  • What command should you use to find a file named la.txt in the current directory?
  • What does 'chmod' do in Linux?
  • What does the command 'mkdir' do in Linux?
  • How do you list environment variables in Linux?
  • What does the 'man' command do in Linux?
  • What is the typical extension for a Debian package file?
  • Which text editor is commonly used in Linux for editing files?
  • What command would display "hello world" followed by a new line in a script?
  • Which filesystem command is utilized to check and repair filesystems?
  • What do we call a collection of files and directories in Linux?
  • What does the command 'echo' do?
  • Which is true about hardware MAC addresses?
  • Which command is used to view active network connections?
  • Which command would you use to remove a file in Linux?
  • What is the default shell for most Linux distributions?
  • Which command is used to create a new directory in bash?
  • Which utility allows you to switch to the root user?
  • What is the function of the 'passwd' command?
  • What must you do to use the BACKSPACE key to delete a word while in command mode of vi?
  • Which command will show you the last activity in your terminal session?
  • How can you view Linux system logs?
  • Which text-mode utility can be used to get help in Linux aside from man?
  • Which files are primarily used for DNS resolution?
  • What is the primary function of the 'sudo' command?
  • What is the syntax for changing the group ownership of a file?
  • What is the primary purpose of the /etc/profile file in bash?
  • What is the purpose of the 'chmod' command in Linux?
  • What command would you enter to list all active network interfaces?
  • After making several mistakes in a vi editor session, which command allows you to quit without saving changes?
  • In bash, which file is executed for each new interactive shell?
  • What does LPI stand for?
  • What file system type is commonly used for Linux partitions?
  • What does the command 'ls' do?
  • What is the purpose of the Linux Essentials certification?
  • What command is typically used to view the contents of a file in Linux?
  • From your current location on the file system, how would you change to three directories above the current directory?
  • Which file is commonly used for user account management in Linux?
  • What key should you press for command completion within a Linux shell?
  • What does the command 'hostname' do?
  • In which directory will you find system-related configuration files?
  • Which command is used to create an empty file in Linux?
  • Is it possible to build an email server for an organization with around 200 employees using a Linux system?
  • Which of the files below will configure the path to the man page's files?
  • Which command is used to search for manual entries related to the Postfix service?
  • What is the function of 'grep' in a command pipeline?
  • What does the 'chmod' command do?
  • Which services allow the use of shared network printing?
  • What is the function of the /etc/shadow file?
  • What Linux server applications can you configure in order to provide network database services?
  • If you suspect a router is down preventing access to an email server, which command can test connectivity?
  • Which command would you use to move a directory and all of its contents to a new location?
  • What does the 'mkdir' command do?
  • What is the primary function of the 'shutdown' command?
  • What would be the best Linux distribution choice for a high load production database application?
  • What port does the sshd daemon listen on by default for incoming SSH connections?
  • Which bash startup file is executed for non-login interactive shells?
  • Which command is used to find files and directories?
  • What is the result of executing the command `clear` in a bash shell?
  • How can you display the manual page for the cd command?
  • Is it permissible to modify and redistribute the Linux kernel source code?
  • What is the role of the /etc/passwd file in Linux?
  • If you want to verify the uptime of a remote host named dns2.linuxacademy.com, which command should you use?
  • Which package management system is commonly used in Debian-based distributions?
  • Which command can be used to verify the connection to a remote server?
  • Which command would you use to view the default gateway address on your system?
  • What environmental variable might we use to specify the directory where man page files will be located?
  • While using vi in insert mode, how can you switch to replace mode?
  • What is the purpose of the command 'ls'?
  • Which command is used to create a new directory?
  • What command would you use to disable a second network interface in Linux?
  • To change permissions of a file to make it read-only for everyone, which command should you use?
  • Where can you add files so that new users will automatically have them upon first login?
  • Which command would you use to change directory?
  • Which command would uncompress a file named 'important.bz2'?
  • What does the ~/.bashrc file generally configure?
  • Which command is used to change a directory in Linux?
  • What command can be used to search the manual database for keywords?
  • What does the 'mv' command do?
  • What is the purpose of the 'grep' command?
  • What is the purpose of the 'sudo' command?
  • What command is used to update the package list on Ubuntu?
  • What commands will tell us what our IP address is on our Linux system?
  • How do you set permissions on a script to allow execution?
  • Which file holds the most recently entered shell commands for a user?
  • Which command allows a user to exit from the 'su' session?
  • Which command is used to create a symbolic link from a file located at /usr/share/manual to a link in your home directory named 'manual'?
  • What is an important consideration when selecting a Linux distribution for a database server?
  • How can you exit a man page and return to the shell?
  • Which command is used to display the current working directory in Linux?
  • What does the 'chmod 755' command do?
  • What can you do to access another shell without quitting your current application?
  • In a bash shell, what does the command `alias ll='ls -l'` accomplish?
  • What command would you use to display the current directory in Linux?
  • What does the command `unset VARIABLE_NAME` do in bash?
  • If an application has permissions set to Rw-r—r— but does not run, why is that?
  • Which section of a man page provides a brief review of the command's syntax?
  • Which command is used to display the current working directory?
  • Which configuration file is read first when a login bash shell is executed?
  • Which command displays currently mounted file systems?
  • Which of the following commands will open your default text editor for editing the .bashrc file?
  • What script is typically executed when a user logs out of a shell session?
  • Which section of a man page contains utilities used by the root user?
  • When editing a bash profile, which command would you use to apply the changes immediately?
  • Who is the founder of the GNU project?
  • Which command is used to view the contents of a text file in the terminal?
  • What is a 'Symbolic Link' in Linux?
  • What command allows users to view system performance in real-time?
  • What does the 'history' command do in the terminal?
  • How can you change the ownership of a file in Linux?
  • What protocol do network applications use that can tolerate unreliability for very low latency?
  • How can you add a new user account named 'newguy' to a system?
  • In which way can you view the content of a text file in Linux with pagination?
  • To delete the //APP directory and all of its child folders and files, which command is best?
  • What does the 'tar' command do?
  • What command would you use to view the current directory paths in Linux?
  • What command helps you locate the path of a system executable in your environment?
  • What does the term 'package management' refer to in Linux?
  • Which shell is typically the default in most Linux distributions?
  • What is the correct syntax for creating a parent directory and a child subdirectory?
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy