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

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

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy