
Real Exam Questions 101-500 Dumps Exam Questions in here [Dec-2025]
Get Latest Dec-2025 Conduct effective penetration tests using 101-500
Lpi 101-500 (LPIC-1 Exam 101, Part 1 of 2, version 5.0) Certification Exam is an entry-level exam that validates the fundamental skills and knowledge required to become a Linux professional. 101-500 exam is the first of two exams required to earn the LPIC-1 certification. The LPIC-1 certification is vendor-neutral, which means that it does not focus on a specific distribution of Linux, but rather on the general principles that underlie all Linux distributions.
The Lpi 101-500 exam is intended for individuals who are just starting their career in Linux administration or individuals who want to validate their Linux administration skills. LPIC-1 Exam 101, Part 1 of 2, version 5.0 certification exam is suitable for Linux system administrators, IT professionals, and developers who work with Linux systems. LPIC-1 Exam 101, Part 1 of 2, version 5.0 certification program is vendor-neutral, which means that it is not tied to any specific Linux distribution.
NEW QUESTION # 86
The/etc/ ________ file lists currently mounted devices.
Answer:
Explanation:
mtab
NEW QUESTION # 87
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?
- A. Start in runlevel 1.
- B. Pass start=/bin/sh on the kernel parameter line.
- C. Pass init=/bin/sh on the kernel parameter line.
- D. Pass /bin/sh on the kernel parameter line.
Answer: C
NEW QUESTION # 88
You wish to execute two commands, one after the other. However, you only want the second command to execute if the first is successful. Which character(s) do you put between the commands on the command line to accomplish this?
Answer:
Explanation:
&&
NEW QUESTION # 89
What command changes the priority of the process running with process id of 12345 to the highest priority?
- A. /usr/bin/renice +20 1234
- B. /usr/bin/renice -20 12345
- C. /bin/setpriority -20 12345
- D. /bin/setpriority +20 12345
Answer: B
NEW QUESTION # 90
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?
- A. type
- B. magic
- C. file
- D. pmagic
- E. hash
Answer: C
Explanation:
Explanation
The file command determines the type of a file by using a definition database file which contains information about all common file types. The database file is usually located at /usr/share/misc/magic or /usr/share/file/magic and can be customized by the user. The file command analyzes the content and structure of the file and compares it with the patterns in the database file to identify the file type. The file command can also check the file name extension, but it does not rely on it. The other options are either invalid or do not perform the desired task.The magic, pmagic and hash commands are not valid Linux commands. The type command is used to display information about command type, not file type.
References:
* LPIC-1 Exam 101 Objectives, Topic 103: GNU and Unix Commands, 103.3 Perform basic file management
* LPIC-1 Linux Administrator 101-500 Exam FAQ, LPIC-1 Exam 101 Objectives, GNU and Unix Commands (Total Weight: 25)
NEW QUESTION # 91
What command will uninstall a package but leave its configuration files in case a package is re- installed?
- A. dpkg -r pkgname
- B. dpkg -P pkgname
- C. dpkg -L pkgname
- D. dpkg -s pkgname
- E. none, no command will do this
Answer: A
NEW QUESTION # 92
Which of the following commands makes /bin/foo executable by everyone but writable only by its owner?
- A. chmod u=rwx,go=rx /bin/foo
- B. chmod 577 /bin/foo
- C. chmod o+rwx,a+rx /bin/foo
- D. chmod 775 /bin/foo
Answer: A
Explanation:
Explanation
The correct command to make /bin/foo executable by everyone but writable only by its owner is chmod u=rwx,go=rx /bin/foo. This command uses the symbolic method to set the permissions for the user (u), group (g), and others (o) classes. The equal sign (=) means that the permissions are set exactly as specified, not added or removed. The letters r, w, and x represent the read, write, and execute permissions respectively. The comma (,) separates the different classes. The command means that the user has read, write, and execute permissions (rwx), while the group and others have only read and execute permissions (rx). The other options are incorrect because they use the wrong syntax or values for the chmod command. Option B uses the wrong indicators for the classes. The letter o means others, not owner. The letter a means all, not group. Option C uses the numeric method, but the value 577 is not correct. The numeric method uses octal numbers (0-7) to represent the permissions for each class. The first digit is for the user, the second for the group, and the third for others. Each digit is the sum of the values for the read (4), write (2), and execute (1) permissions. For example, 7 means rwx, 6 means rw-, 5 means r-x, and so on. The value 577 means that the user has read, write, and execute permissions (rwx), the group has read and execute permissions (r-x), but the others have only write and execute permissions (w-x), which is not what the question asked. Option D uses the numeric method, but the value 775 is not correct. The value 775 means that the user and the group have read, write, and execute permissions (rwx), while the others have only read and execute permissions (r-x). This means that the group can also write to the file, which is not what the question asked. References:
* [LPI Linux Essentials - 1.3 Basic File Management]
* [LPI Linux Essentials - 2.1 Using Devices, Linux Filesystems, Filesystem Hierarchy Standard]
* [LPI Linux Essentials - 2.2 Mounting, Unmounting Filesystems]
* [LPI Linux Essentials - 2.3 Disk Partitions]
* How to Use the chmod Command on Linux - How-To Geek
* Chmod Command in Linux (File Permissions) | Linuxize
* Chmod command in Linux with examples - GeeksforGeeks
NEW QUESTION # 93
What does the? symbol within regular expressions represent?
- A. Match a literal? character.
- B. Match the preceding qualifier zero or one times.
- C. Match the preceding qualifier one or more times.
- D. Match the preceding qualifier zero or more times.
Answer: B
Explanation:
Explanation
The ? symbol within regular expressions represents an optional match of the preceding qualifier. A qualifier is a character or a group of characters that can be repeated a certain number of times, such as , +, ?, {n}, {n,}, or
{n,m}. The ? symbol means that the qualifier can occur zero or one times, but not more. For example, the regular expression colou?r matches both "color" and "colour", but not "colouur" or "colr". The ? symbol can also be used to make other qualifiers lazy, meaning that they will match the smallest possible number of characters, instead of the largest (greedy). For example, the regular expression a.?b matches the shortest string that starts with "a" and ends with "b", such as "ab" or "a-b", but not "a-b-c". References:
* [LPI Exam 101 Detailed Objectives], Topic 103: GNU and Unix Commands, Objective 103.7: Perform basic file management, Weight: 4, Key Knowledge Areas: Use of egrep to search for extended regular expressions in text output.
* [Regular expression syntax cheat sheet], Topic: Quantifiers.
NEW QUESTION # 94
What does the command mount -a do?
- A. It mounts the floppy disk for all users
- B. It mounts all file systems listed in /etc/fstab
- C. It shows all mounted file systems
- D. It opens /etc/fstab to edit
Answer: B
NEW QUESTION # 95
FILL BLANK
Which command displays a list of all background tasks running in the current shell? (Specify ONLY the command without any path or parameters.)
Answer:
Explanation:
jobs
NEW QUESTION # 96
Which utility would be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem?
- A. fsck
- B. mod2fs
- C. tune2fs
- D. fixe2fs
- E. mke2fs
Answer: C
Explanation:
Explanation
The utility that can be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem is tune2fs. This command can adjust various parameters of a Linux ext2, ext3, or ext4 filesystem, such as the maximum mount count, the check interval, the reserved blocks percentage, and the default mount options. To change the check interval, the -i option can be used, followed by a time value. For example, to set the check interval to 180 days for the filesystem on /dev/sda1, the following command can be used:
sudo tune2fs -i 180d /dev/sda1
This command will modify the superblock of the filesystem, which contains the metadata and configuration information, without affecting the data stored on the filesystem. The other options are incorrect because they are not suitable for changing the check interval of an ext2 filesystem. Option A is wrong because there is no such utility as mod2fs. Option B is wrong because fsck is a utility for checking and repairing filesystems, not changing their parameters. Option D is wrong because mke2fs is a utility for creating ext2 filesystems, which will erase the existing data on the partition. Option E is wrong because there is no such utility as fixe2fs.
For more information on how to use the tune2fs command, you can refer to the following articles:
* 15 tune2fs command examples in Linux [Cheat Sheet] - GoLinuxCloud
* Linux tune2fs command With Examples - GeeksforGeeks
* tune2fs command-file system management - Linuxstar
* tune2fs Command Examples - Gianforte School of Computing
* tune2fs Command - IBM
NEW QUESTION # 97
Which wildcards will match the following filenames? (Choose two.)
ttyS0
ttyS1
ttyS2
- A. tty[A-Z][012]
- B. tty[Ss][02]
- C. tty?[0-5]
- D. tty*2
- E. ttyS[1-5]
Answer: A,C
NEW QUESTION # 98
Which of the following is true when a file system, which is neither listed in /etc/fstab nor known to system, is mounted manually?
- A. systemctl unmount must be used to remove the mount because system opens a file descriptor on the mount point
- B. Unless a systemd mount unit is created, systemd unmounts the file system after a short period of time
- C. systemd automatically generates a mount unit and monitors the mount point without changing it
- D. systemd ignores any manual mounts which are not done using the systemctl mount command
- E. The command systemctl mountsync can be used to create a mount unit based on the existing mount
Answer: C
Explanation:
Explanation
Systemd is a system and service manager for Linux systems, and it can manage the mounting and unmounting of file systems. Systemd can automatically create and start mount units for file systems that are listed in
/etc/fstab or are known to the system. Mount units are unit files that encode information about a file system mount point controlled and supervised by systemd. Mount units must be named after the mount point directories they control, and they have the suffix .mount. For example, the mount point /home must be configured in a unit file home.mount.
Systemd can also handle file systems that are neither listed in /etc/fstab nor known to the system, but are mounted manually by the user. In this case, systemd automatically generates a transient mount unit and monitors the mount point without changing it. A transient mount unit is a unit that is created dynamically and temporarily, and is not backed by a unit file on disk. A transient mount unit has the same name and properties as a regular mount unit, but it is not persistent across reboots. Systemd does not interfere with the manual mount, and does not unmount it unless explicitly requested by the user. The user can use the mount command or the systemd-mount command to create a manual mount, and the umount command or the systemd-umount command to remove it. The user can also use the systemctl command to inspect and control the transient mount unit. For example, to show the status of the transient mount unit for the mount point /mnt, use the following command:
systemctl status mnt.mount
References:
* systemd.mount - freedesktop.org
* systemd-mount - freedesktop.org
* How to name systemd mount unit properly? - Server Fault
* Working with Systemd Mount Units - Pluralsight
NEW QUESTION # 99
Which option to the tee command will cause the output to be concatenated on the end of the output file instead of overwriting the existing file contents?
- A. --continue
- B. --no-clobber
- C. -c
- D. -a
Answer: D
Explanation:
Explanation
The -a option to the tee command will cause the output to be appended to the end of the output file instead of overwriting the existing file contents. The tee command reads from standard input (STDIN) and writes to standard output (STDOUT) and one or more files simultaneously. For example, ls | tee file.txt will display the output of the ls command and also write it to file.txt. If file.txt already exists, it will be overwritten unless the
-a option is used. References: LPI Exam 101 Detailed Objectives, Topic 103: GNU and Unix Commands, Weight: 25, Objective 103.3: Perform basic file management, tee command
NEW QUESTION # 100
What is the default process priority when a process is started using the nice command?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: D
NEW QUESTION # 101
Which of the following commands print the current working directory when using a Bash shell? (Choose two.)
- A. pwd
- B. echo "${PWD}"
- C. printwd
- D. echo "${pwd}"
- E. echo "${WD}"
Answer: A,B
Explanation:
Explanation
PWD",C.pwdComprehensiveExplanation:ThecommandsthatwillprintthecurrentworkingdirectorywhenusingaBas and pwd. The echo command will print the value of the PWD variable, which is set by the shell to the current working directory. The pwd command will print the name of the current working directory. The WD variable is not a standard shell variable and may not be defined. The printwd command is not a valid Linux command.
The pwd variable is not the same as the PWD variable and may not be defined.References:LPI Exam 101 Detailed Objectives, Topic 103: GNU and Unix Commands, Weight: 25, Objective 103.1: Work on the command line, echo command, pwd command
NEW QUESTION # 102
User Joseph has successfully extracted and compiled a program from source code. Installing the binaries produces errors. What is the most likely reason?
- A. The binaries require root privileges to be installed
- B. The source code was compiled for a different CPU
- C. The permissions set in the /usr/bin directory are wrong
- D. The wrong prefix was used during configuration of the source code
Answer: A
NEW QUESTION # 103
What information can the lspcicommand display about the system hardware? (Choose three.)
- A. System battery type
- B. Ethernet MAC address
- C. Device IRQ settings
- D. Device vendor identification
- E. PCI bus speed
Answer: C,D,E
NEW QUESTION # 104
Which of the following commands can be used to download the RPM package kernel without installing it?
- A. rpm --download --package kernel
- B. yum download --no-install kernel
- C. yumdownloader kernel
- D. rpmdownload kernel
Answer: C
Explanation:
Explanation
The command that can be used to download the RPM package kernel without installing it is yumdownloader kernel. This command is part of the yum-utils package, which contains a suite of helper tools for yum package manager. To use this command, you need to install the yum-utils package first1. The downloaded package will be saved in the current directory. You need to use root privilege because yumdownloader will update package index files during downloading. Unlike yum command, yumdownloader will not download any dependent packages1.
The other commands are either invalid or do not have the desired functionality. yum download --no-install kernel is not a valid yum command, as yum does not have a --no-install option2. rpm --download --package kernel is not a valid rpm command, as rpm does not have a --download or a --package option3. rpmdownload kernel is not a standard Linux command. rpm has a native support to download a package from a URL and install it, but not to download a package without installing it4.
References:
* How to use yum to download an RPM package without installing it - Xmodulo
* yum(8) - Linux manual page
* rpm(8) - Linux manual page
* How to download an RPM package and install it in one line?
NEW QUESTION # 105
Which of the following commands changes all CR-LF line breaks in the text file userlist.txt to Linux standard LF line breaks and stores the result in newlist.txt?
- A. tr -c '\n\r' '' <newlist.txt> userlist.txt
- B. tr '\r\n' '' <userlist.txt> newlist.txt
- C. tr -d '\r' < userlist.txt > newlist.txt
- D. tr '\r' '\n' userlist.txt newlist.txt
- E. tr -s '/^M/^J/' userlist.txt newlist.txt
Answer: C
NEW QUESTION # 106
......
LPIC-1 Exam 101, Part 1 of 2, version 5.0 is one of the most widely recognized and respected Linux certification exams. 101-500 exam is the first part of a two-part certification process that is designed to test the fundamental knowledge and skills required to administer a Linux operating system.
Authentic Best resources for 101-500 Online Practice Exam: https://passleader.realexamfree.com/101-500-real-exam-dumps.html

