LPIC-1 Exam 101, Part 1 of 2, version 5.0
Last Update Nov 30, 2025
Total Questions : 293
We are offering FREE 101-500 LPI exam questions. All you do is to just go and sign up. Give your details, prepare 101-500 free exam questions and then go for complete pool of LPIC-1 Exam 101, Part 1 of 2, version 5.0 test questions that will help you more.
Which of the following commands will display the inode usage of each mounted filesystem?
Which command is used to query information about the available packages on a Debian system?
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)
Which of the following commands is used to modify quota settings? (Choose two.)
The system configuration file named _______ is commonly used to set the default runlevel. (Please provide the file name with full path information)
Which of the following commands lists the dependencies of a given dpkg package?
Which RPM command will output the name of the package which supplied the file /etc/exports?
What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)
menu.lst
grub.conf
grub.cfg
Which world-writable directory should be placed on a separate partition in order to prevent users from being able to fill up the / filesystem? (Specify the full path to the directory.)
Which of the following commands can be used to download the RPM package kernel without installing it?
Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)
Swapoff
/sbin/swapoff
Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)
update
upgrade
Which of the following apt-get commands will install the newest versions of all currently installed packages without removing any packages or installing new packages that are not already installed?
An administrator has issued the following command:
grub-install --root-directory=/custom-grub /dev/sda
In which directory will new configuration files be found? (Provide the full directory path only without the filename)
What is the difference between the --remove and the --purge action with the dpkg command?
What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)
Which of the following commands updates the linker cache of shared libraries?
The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.
Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?
When using rpm --verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose THREE correct answers.)
When removing a package, which of the following dpkg options will completely remove the files including configuration files?
Which of the following commands puts the output of the command date into the shell variable mydate?
When considering the use of hard links, what are valid reasons not to use hard links?
Which of the following commands will delete the default gateway from the system's IP routing table? (Choose TWO correct answers)
ifconfig unset default
Which program runs a command in specific intervals and refreshes the display of the program’s output? (Specify ONLY the command without any path or parameters.)
Which wildcards will match the following filenames? (Choose two.)
ttyS0
ttyS1
ttyS2
Which command must be entered before exiting vi to save the current file as filea.txt?
Which character in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?
Which of the following tasks are handled by a display manager like XDM or KDM? (Choose TWO correct answers.)
Consider the following directory:
drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales
Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)
Consider the following output from the command ls –i:

How would a new file named c.txt be created with the same inode number as a.txt (Inode 525385)?
Which of the following signals is sent to a process when the key combination CTRL+C is pressed on the keyboard?
Which command uninstalls a package but keeps its configuration files in case the package is re-installed?
Which command is used in a Linux environment to create a new directory? (Specify ONLY the command without any path or parameters.)
mkdir
/usr/bin/mkdir
Which of the following commands is used to change options and positional parameters for a running Bash?
Which of the following commands will send output from the program myapp to both standard output (stdout) and the file file1.log?
When given the following command line.
echo "foo bar" | tee bar | cat
Which of the following output is created?
Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?
What is the output of the following command?
echo "Hello World" | tr -d aieou
Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?
Which of the following statements is correct regarding the command foo 1> bar?
In the vi editor, which of the following commands will copy the current line into the vi buffer?
Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files?
killall -s _______ daemon
HUP
SIGHUP
1
Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?
You are trying to make a hard link to an ordinary file but ln returns an error. Which of the following could cause this?
Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
Which of the following information is stored within the BIOS? (Choose TWO correct answers.)
The system is having trouble and the engineer wants to bypass the usual /sbin/init start up and run /bin/sh. What is the usual way to pass this change to the kernel from your boot loader?
Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?
Which command displays the contents of the Kernel Ring Buffer on the command line? (Provide only the command name without any options or path information)
During a system boot cycle, what program is executed after the BIOS completes its tasks?
Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)
Which of the following kernel parameters instructs the kernel to suppress most boot messages?
During a system boot cycle, what is the program that is run after the BIOS completes its tasks?
Which command will display messages from the kernel that were output during the normal boot sequence?
The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only)
Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?
You are having some trouble with a disk partition and you need to do maintenance on this partition but your users home directories are on it and several are logged in. Which command would disconnect the users and allow you to safely execute maintenance tasks?
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?
You suspect that a new ethernet card might be conflicting with another device. Which file should you check within the /proc tree to learn which IRQs are being used by which kernel drivers?
Which of the following commands will load a kernel module along with any required dependency modules?
Which of the following describes the correct order in which the components of the system boot process are started?
Which of the following commands will print important system information such as the kernel version and machine hardware architecture?
Following the Filesystem Hierarchy Standard (FHS), where should binaries that have been compiled by the system administrator be placed in order to be made available to all users on the system?
Which of the following commands enables the setuid (suid) permission on the executable /bin/foo?