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

LPI Linux Essentials (D281 and C851) Practice Exam course image
More practice questions

These questions are part of the practice quiz. Start practicing

  • Which of the following commands is used to copy files?
  • What is the purpose of the command 'apt dist-upgrade'?
  • Which utility is primarily used for configuring TCP/IP settings on Linux and UNIX systems?
  • What does the command usermod accomplish?
  • Where should temporary files be stored on a Linux system that can be safely deleted during a reboot?
  • Which command shows the users currently logged into the system?
  • What is the use of the 'wget' command?
  • How do you monitor system resources in real-time?
  • What does the command chage -l username display?
  • Which of the following logs would contain general messages about system activity?
  • How do you remove a file using the command line?
  • Which of the following commands is used to remove a directory in Linux?
  • Which command is used to view the kernel ring buffer messages?
  • What functionality does 'apt search' provide?
  • What is the function of the DNF package manager?
  • Which command is used to display disk usage for the file system?
  • What does the kernel ring buffer record?
  • What does SSH stand for?
  • What is the primary purpose of the dmesg command?
  • What command would you use to see real-time statistics of system resources?
  • Which command would you use to modify an existing group?
  • What does the 'top' command specifically provide?
  • What is the function of 'cron' in Linux?
  • Which command would you use to list all currently running processes in Linux?
  • Which command is used to check networking settings in a Linux environment?
  • What is the correct statement to be used for comparison in a Linux shell script?
  • Which command provides information about currently running processes?
  • What does the command 'tar -z' indicate?
  • To view and control processes in real time, which command would you use in Linux?
  • Which command is used to display the status of a specific network interface?
  • What command is used to copy files?
  • Which command is used to view running processes in Linux?
  • Which command would you use to change a user's password?
  • What do GDM logs primarily contain?
  • What command is used to remove a software package in a Debian-based system?
  • Which command would you use to add a new user along with specific options for home directory and group?
  • Which of the following commands can be used to resolve a DNS name to an IP address?
  • What does the command 'tar' primarily do in Linux?
  • Which command is used to install a specific package?
  • What is the purpose of the 'chmod' command?
  • Which string should you add to put the date into the prompt of the shell?
  • What does the PCPU entry of the w command represent?
  • How can you compress a tar file with gzip upon creation?
  • Why is the file data.txt empty after executing sort data.txt > data.txt?
  • What does the command 'apt update' accomplish?
  • What does sudo do in Linux?
  • Which of the following is used as a virtual or pseudo filesystem used to interface with the kernel and system as a whole but not with individual processes?
  • What does the 'mv' command do in Linux?
  • Which option would you use with tar to see a summary of its usage?
  • What is the main configuration file for the GRUB bootloader?
  • What does the /var/log/syslog file primarily log?
  • What file would indicate services started via SysV scripts during startup?
  • Which of the following commands would you use to extract files from a tar archive?
  • What is the purpose of the 'sudo' command?
  • Which option can be used with useradd to specify the home directory for a user?
  • What is the purpose of the 'sudo' command?
  • How does the 'apt upgrade' command differ from 'apt dist-upgrade'?
  • What information can be found in the boot.log file?
  • Which command installs all available updates for packages?
  • What does the chgrp command do?
  • What is the function of the command 'ping'?
  • What is the primary function of the adduser command?
  • Which command would you use to search for a specific string in a file?
  • What is the significance of the root user in Linux?
  • What is indicated by the output of the `passwd -S` command?
  • Which command is used to modify user accounts?
  • What does the JCPU entry of the w command indicate?
  • Which command can be used to display running processes on a system?
  • What is the purpose of 'apt-get' in Linux?
  • What command displays the last 10 lines of a file?
  • What command would you use to change the current working directory?
  • What is the primary function of the iwconfig command in Linux?
  • Which log file would you check to troubleshoot printer issues?
  • Which command can you use to create a new directory?
  • Which command is used to list files in a directory?
  • What does the ip address show command report?
  • What is NOT one of the ways that DHCP can be used to deliver IP addresses?
  • Which of the following commands is used to show the information about a directory or a symbolic link?
  • What does the command 'tar -v' do?
  • What is the purpose of the /home directory?
  • Which command is used to create a new directory?
  • Which command helps you search for a specific package in the repository?
  • Which command is commonly used to find the IP address of your machine?
  • Which file would you edit to change GRUB boot parameters?
  • What information does the 'who' command provide in a Linux system?
  • What command can be used similarly to adduser, including options for shell, home, and groups?
  • Which command provides a summary of disk space usage on all filesystems?
  • What command would you use to create an archive using 'tar'?
  • What is the function of the command 'ip link set <interface> <option>'?
  • Which file contains critical configuration information for the boot process?
  • What is the purpose of a process' PID?
  • Which command is used to copy files in Linux?
  • What additional capabilities does the 'top' command offer beyond displaying processes?
  • What does the command whoami display?
  • When you extract files with the tar command, where are they extracted to?
  • Which file on a Linux system is modified to set the maximum number of days before a password must be changed?
  • Which option is used with the 'free' command to display memory in human-readable format?
  • What does 'apt autoremove' do?
  • What is the default behavior of tar if no options are specified?
  • How can you check the disk usage of a directory in Linux?
  • What is a symbolic link in Linux?
  • What is the purpose of the 'grep' command in Linux?
  • What does the 'grep' command do?
  • What information is displayed when using the 'apt show' command?
  • What is the primary purpose of the passwd command?
  • Which command is used to list files in a directory?
  • What is the purpose of the 'sudo' command?
  • Which of the following directories contain all of the installed kernels on your system and their needed drivers?
  • Which command would you use to view hardware-related messages?
  • Which command is used to search for files in the filesystem?
  • What information does the ip link show command provide?
  • What file permission is denoted by 'r' in Linux?
  • What is the default shell in most Linux distributions?
  • What does the command 'tar -x' do?
  • Which command is utilized to update the package index in Debian-based systems?
  • What command is used to remove a file in Linux?
  • What does the 'v' option in the tar command stand for?
  • What is the primary purpose of the Linux kernel?
  • What is the purpose of the 'top' command?
  • What does the command 'tar -xf archive.tar' do?
  • What command is equivalent to ifconfig in displaying IP details?
  • What is the function of the command 'echo'?
  • What command would you use to display disk partitions?
  • What file would you modify to change the default shell for a user?
  • What type of messages are found in the secure logs?
  • What command is used to create an archive file in Linux?
  • How can you find the current working directory?
  • What is a 'daemon' in Linux?
  • Which command is used to terminate a running process in Linux?
  • How do you append text to a file in Linux?
  • Which command is used to check if a remote host is available?
  • What does the deluser command do?
  • Which command will remove files from a directory before extracting a tar archive?
  • What command would be used to remove a file?
  • What does the 'df' command do?
  • Which command is used to view memory usage on a system?
  • What does the iwlist command accomplish?
  • What does the command 'tar -j' indicate?
  • What command is used to display the current date and time?
  • In which directory would you typically find the user home directories in a Linux system?
  • Which command would you use to list files in the current directory?
  • Which of the following options is used to gzip a file called filename?
  • What are environment variables?
  • What is the purpose of the /etc/resolver.conf file in Linux?
  • Which command would you use to check the current date and time in Linux?
  • What does the Xorg.0.log file provide information about?
  • Which command would be used to view the current working directory?
  • What does the command passwd -S username do?
  • What character is used to represent a home directory in Linux?
  • What does LPI stand for?
  • Where is user account information stored in a Linux system?
  • What does the grep command do in a Linux environment?
  • What does the 'echo' command do?
  • What is 'bash scripting'?
  • What defines a Linux distribution?
  • What does the command 'ps aux' do?
  • Which command is used to change the ownership of a file in Linux?
  • What is the primary content of the messages/syslog file?
  • Which option can be used with tail to print the last X bytes of a file to the screen?
  • Which command helps display current directory in Linux?
  • What does the route command display in a Linux environment?
  • Which of the following commands would you use to check the current active users in the system?
  • What is the primary purpose of a 'firewall'?
  • What does the command 'tar -c' do?
  • What command would you use to view the contents of a file?
  • What is the primary function of a package manager in Linux?
  • What command is used to create a compressed tar file with bzip2?
  • What is a shell in the context of Linux?
  • What is the main purpose of the tar command in Linux?
  • What is the purpose of the useradd command with options such as -s, -d, and -G?
  • What is the structure called that defines the file system hierarchy in Linux?
  • What command is used to view the contents of a text file?
  • Which tar option allows you to update an existing archive by adding new files?
  • Which command is used to copy files in Linux?
  • Which command would you use to view detailed information about network interfaces?
  • What is the role of the ifconfig command?
  • What does the command 'tail' do?
  • What type of logs would you find in the cups/ log?
  • What is the purpose of the /etc/fstab file?
  • What is the purpose of the 'f' option in the tar command?
  • What command is used to change the ownership of a file?
  • What command is used to remove an RPM package using the DNF package manager?
  • Which command would you use to list the contents of a tar archive without extracting it?
  • What command would you use to display the current working directory?
  • Which command is used to change file permissions in Linux?
  • What command would you use to change the current working directory?
  • What does the "rm -rf" command do in Linux?
  • What does the command 'chmod' do?
  • Are all Linux distributions capable of creating a network connection automatically?
  • What is the function of the 'chmod' command?
  • What does the command 'ifconfig' do?
  • Which file extension is commonly associated with tar archives?
  • Which command allows you to view a file's contents page by page?
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy