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

LPI Linux Essentials 010-160 Practice Test 2026 – The Complete All-in-One Guide to Exam Success! course image
All questions

These questions are part of the practice quiz. Start practicing

  • Which program is known as a graphical editor for vector graphics?
  • What does the tilde (~) symbol represent in a Linux terminal?
  • Which of the following commands is used to create a directory?
  • What does the 'echo' command do in Linux?
  • In Linux, what does the command 'ls -l' display?
  • Which command is commonly used to view the contents of a directory?
  • Which command would be used to change file permissions in Linux?
  • What can be found in the /proc/ directory of a Linux system?
  • What type of information can be displayed by the 'top' command?
  • Which commands can be used to get information on the proper use of ls?
  • Which package management tool is used in Red Hat-based Linux systems?
  • In the script script.sh, how should MYVAR be set to make it display its content?
  • What would be the result of running 'rm Downloads' if Downloads is a directory?
  • Which command creates a ZIP archive poems.zip containing all files ending in .txt?
  • What does the 'top' command display in Linux?
  • What is the purpose of the PATH environment variable?
  • What keyword is used in a shell script to begin a loop?
  • What is the preferred source for installing new applications in a Linux-based operating system?
  • How is a new Linux computing instance provisioned in an IaaS cloud?
  • What is the default shell for most Linux distributions?
  • What is the function of the 'tail -f' command?
  • What command is used to display disk usage in Linux?
  • What is the return value of a shell script after successful execution?
  • Which of the following commands would give you a list of all files and directories in the current directory?
  • What does 'sudo' stand for?
  • Which of the following tasks can the command passwd accomplish?
  • Which command would you use to display system uptime in Linux?
  • What is the purpose of the 'chmod' command in Linux?
  • What does 'ls -l' display compared to 'ls'?
  • What is true about the su command?
  • Given the file -rwxr-xr-x 1 root root 859688 Feb 7 08:15 test.sh, how can this script be executed? (Choose two.)
  • Which statement concerning Linux passwords is true?
  • Which operator in a regular expression matches the preceding character either zero or one time?
  • Which command is commonly used to check the current disk usage in a directory?
  • What is the output of the command 'echo $HOME' in Linux?
  • What information does the 'hostname' command display?
  • Which statement about the 'dmesg' command is true?
  • What is the purpose of the 'grep' command?
  • Which Linux Distribution is derived from Red Hat Enterprise Linux?
  • Which command can be utilized to resolve a DNS name into an IP address?
  • How can you list all installed packages on a Debian-based system?
  • What parameter of ls prints a recursive listing of a directory's content?
  • What does the 'alias' command do in the context of the command line?
  • What does the 'chmod' command do?
  • What is a kernel in the context of an operating system?
  • Which command is used to extract the contents of the compressed archive file1.tar.gz?
  • What is the function of 'crontab' in Linux?
  • What does a Free Software license define?
  • What is the function of the command 'tar -czvf file.tar.gz /path/to/directory'?
  • What is the effect of the command 'mkdir new_directory'?
  • Which commands can output the content of the file Texts 2.txt?
  • Which command is used to change directories in Linux?
  • Which command sets the variable USERNAME to the value bob?
  • What does the command 'pwd' do in a Linux terminal?
  • What does the 'chmod' command do?
  • Which command is used to copy files in Linux?
  • What command adds the new user tux and creates the user's home directory with default configuration files?
  • Which command allows you to change the priority of a running process?
  • Which command displays file names only and no additional information?
  • In Linux, what does the 'r' permission signify for a file?
  • Which statements about the directory /etc/skel are correct?
  • What command is used to change the current directory in Linux?
  • What is the default shell in most Linux distributions?
  • Which command is used to view active network connections in a Linux system?
  • What does the 'grep' command do?
  • What does the command 'wget' do?
  • What command adds the directory /new/dir/ to the PATH environment variable?
  • What command is used to display manual pages?
  • Which command is used to copy files in Linux?
  • What command is used to list files and directories in the current directory?
  • Which command is used to display the contents of a text file?
  • What does the 'df' command display?
  • Which command sorts the output of the command export-logs?
  • How can you view system logs in Linux?
  • In Linux, what is a symbolic link?
  • Which character in a shell prompt indicates that the shell is running with root privileges?
  • Which command would you use to view the contents of a file in the terminal?
  • What does the command 'sudo apt-get update' do?
  • Which of the following tar options handle compression? (Choose two.)
  • How is the hostname for the IP address 198.51.100.165 stored on a DNS server?
  • How do you obtain help for a specific command in Linux?
  • What command is used to view the content of a text file in Linux?
  • Which command is used to change the ownership of a file named doku.odt to a user named tux?
  • When a file owner's account is deleted, which of the following statements is true regarding the file?
  • How can you view the content of a text file named "example.txt" page by page in Linux?
  • Which of the following keys can be pressed to exit less?
  • What command is used to create directories in Linux?
  • What information is stored in /etc/passwd? (Choose three.)
  • What does the command 'chmod' do in Linux?
  • Which command is used to change file permissions in Linux?
  • Which Linux command is used to view the contents of a file?
  • What is the purpose of the 'ps' command in Linux?
  • What is a primary difference between hard disk drives and solid state disks?
  • Which of the following programs are known web servers?
  • Which permissions are set on a regular file once the permissions have been modified with the command chmod 654 file.txt?
  • What command displays processes currently running on a Linux system along with their resource usage?
  • Where is the operating system of a Raspberry Pi typically stored?
  • What does the 'mkdir' command do?
  • How can you find out the Linux kernel version?
  • Which utility is commonly used to monitor system processes in Linux?
  • Which files provide information in the output for a user named 'bob'?
  • Why are web browser cookies considered potentially dangerous?
  • Which device represents a hard disk partition in a Linux system?
  • What is true about a recursive directory listing?
  • How do you delete a file in Linux?
  • What command can be used to check for available disk space in Linux?
  • Which file typically contains user account information in Linux?
  • What is the purpose of the 'man' command in Linux?
  • Which command creates an archive file work.tar from the contents of the directory ./work/?
  • Which command is used to list the contents of the current directory in a Linux terminal?
  • What does the command 'rmdir directory_name' do?
  • What could be a valid process ID on a Linux system?
  • Which directory must be mounted with read and write access if it resides on a dedicated file system?
  • Which command could be used to view the hidden files in a directory?
  • Which command would you use to view the manual of a command?
  • Which command would you use to view the contents of a directory including hidden files?
  • Which symbol is used to represent the home directory in Linux?
  • Which of the following are typical services offered by public cloud providers?
  • What command is used to search for a specific text in files?
  • What is a Linux distribution?
  • What command allows you to display system hardware information?
  • Which single character can be used to split a long command across multiple lines in the shell?
  • How do you view the contents of a compressed file (e.g., file.gz)?
  • In the Linux file system, what does the directory '/' represent?
  • Which command will copy two files ending in .txt to the /tmp/ directory?
  • How can you synchronize file changes between a source and a destination directory?
  • What happens to a file outside the home directory when the owner’s account is deleted?
  • What type of information is provided in the output of the 'free' command?
  • Which command would you use to display the last 10 lines of a file?
  • Which of the following DNS record types holds an IP address?
  • Which command arranges the lines of the file data.csv in alphabetical order?
  • Which type of bus is used to connect hard disk drives with the motherboard?
  • Which of the following permissions are set on the /tmp/ directory?
  • What does the 'find' command do?
  • What are key differences between a private web browser window and a regular web browser window?
  • What is the primary purpose of the 'chmod' command in Linux?
  • Which output is likely produced by the 'last' command?
  • Which of the following statements is true regarding a typical shell script?
  • To remove an empty directory named 'Downloads', which command would you use?
  • What is the default shell for most Linux distributions?
  • Which command copies the contents of the directory /etc/, including all sub-directories, to /root/?
  • Which command would you use to change file ownership in Linux?
  • What needs to be done to execute a shell script that results in a "Permission denied" error?
  • Which component is not found in solid state drives?
  • How can you identify which processes are consuming the most memory?
  • What is the purpose of using pipes (|) in a command?
  • Which file system can be used to prevent scripts from being executed in certain directories?
  • What is the primary function of the 'init' system in Linux?
  • Which protocol is commonly used for automatic IP address configuration?
  • What command finds all lines in the file operating-systems.txt that contain the term linux, regardless of the case?
  • Which command would you use to display the contents of a text file in the terminal?
  • What is the purpose of using a package manager?
  • How can most commands on Linux typically display information on their usage?
  • What utility is used for managing software packages in Debian-based distributions?
  • What command would you use to show the current directory?
  • What is a defining characteristic of Free Software?
  • Which file contains group account information in Linux?
  • What is true about links in a Linux file system?
  • Which command shows the absolute path to the current working directory?
  • What command would you use to rename a file in Linux?
  • What is SSH used for?
  • What does the command 'chmod +x file.sh' do?
  • Which command is used to view running processes in Linux?
  • Which file typically contains user account information in Linux?
  • How can you display the contents of a directory in Linux?
  • Which statement about Linux hardware drivers is correct?
  • What command is used to check the memory usage of a system?
  • Which of the following files contains user account information on a Linux system?
  • In Linux, which command is used to remove files or directories?
  • Which directory typically contains information, documentation, and example configuration files for installed software packages?
  • What does the command 'rm -r directory' do?
  • How can one determine the IP address of a machine using a given hostname?
  • What would be the output of the shell script that echoes all .txt files in the current directory?
  • What does the 'ifconfig' command do?
  • Which command is used to display the contents of a file line by line?
  • What is the purpose of the chmod command?
  • Which command displays the current working directory?
  • What does the 'grep' command do in Linux?
  • In Linux, what does the command 'mv' do?
  • What is true about the owner of a file?
  • What command is used to change permissions of a file in Linux?
  • What command is used to display the current working directory in Linux?
  • What does the command 'cd' do in a Unix-like operating system?
  • What is the purpose of the 'sudo su' command?
  • Which command can you use to search for a specific term in a file?
  • Which command will search for the file foo.txt under the directory /home?
  • What does the 'top' command do in a Linux system?
  • What is the general structure of a for loop in a shell script?
  • What is the unique identifier (UID) for the root user in Linux?
  • Which command in Linux is used to view the contents of a file?
  • Which command is used to move or rename files in Linux?
  • When executing ls ../Documents/ from /home/user/Downloads/, which directory's content is displayed?
  • What command would you use to copy a file?
  • Which file contains user account information in Linux?
  • Which Linux distribution would be best for a team already skilled in Red Hat Enterprise Linux but wanting a cost-free option?
  • What command would you use to display your current user ID?
  • Which Linux distributions are recommended for long-term server use that requires regular security updates?
  • How do you display a list of currently logged-in users?
  • What does the 'df' command show in Linux?
  • What does the command 'chmod 755 file.txt' do?
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy