{"id":18618,"date":"2026-09-22T08:54:16","date_gmt":"2026-09-22T08:54:16","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=18618"},"modified":"2026-09-22T08:54:16","modified_gmt":"2026-09-22T08:54:16","slug":"lpi-101-500-practice-test-questions-and-exam-dumps-part-6-q101-120","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/lpi-101-500-practice-test-questions-and-exam-dumps-part-6-q101-120\/","title":{"rendered":"LPI 101-500 Practice Test Questions and Exam Dumps Part 6 Q101-120"},"content":{"rendered":"<p><b>View Full<\/b> <a href=\"https:\/\/www.examlabs.com\/101-500-exam-dumps\"><b>LPI 101-500<\/b><b> Exam Dumps<\/b><\/a><b> and Practice Test Dumps<\/b><\/p>\n<p>&nbsp;<\/p>\n<p><b>Question: 101. Which command displays the amount of free and used disk space on mounted filesystems?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">du<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">lsblk<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">df<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">disk<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>3. <\/b><b>df<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">df<\/span><span style=\"font-weight: 400;\"> command reports the amount of available and used disk space on mounted filesystems. It is useful when an administrator wants to determine whether a filesystem is approaching its capacity limit. The <\/span><span style=\"font-weight: 400;\">-h<\/span><span style=\"font-weight: 400;\"> option can be used to display the values in human-readable units such as GiB or MiB. This differs from <\/span><span style=\"font-weight: 400;\">du<\/span><span style=\"font-weight: 400;\">, which estimates the amount of space consumed by files and directories rather than reporting filesystem capacity. <\/span><span style=\"font-weight: 400;\">lsblk<\/span><span style=\"font-weight: 400;\"> focuses on block devices and their relationships. Understanding the distinction between <\/span><span style=\"font-weight: 400;\">df<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">du<\/span><span style=\"font-weight: 400;\"> is important when investigating storage-related problems on Linux systems.<\/span><\/p>\n<p><b>Question: 102. Which command reports the amount of disk space used by files and directories?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">du<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">df<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">space<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">usage<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>1<\/b><span style=\"font-weight: 400;\">.<\/span> <b>du<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">du<\/span><span style=\"font-weight: 400;\"> command estimates the amount of disk space used by files and directories. When executed without additional arguments, its output is generally based on the current directory and its contents. Options such as <\/span><span style=\"font-weight: 400;\">-h<\/span><span style=\"font-weight: 400;\"> make the output easier to read, while <\/span><span style=\"font-weight: 400;\">-s<\/span><span style=\"font-weight: 400;\"> can provide a summary for a specified directory. This differs from <\/span><span style=\"font-weight: 400;\">df<\/span><span style=\"font-weight: 400;\">, which reports filesystem-level free and used space. If an administrator wants to discover which directories are consuming large amounts of storage, <\/span><span style=\"font-weight: 400;\">du<\/span><span style=\"font-weight: 400;\"> is often a useful starting point. Its results can vary depending on filesystem characteristics and options used.<\/span><\/p>\n<p><b>Question: 103. Which directory is commonly used for temporary files that may be removed between system boots?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/tmp<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">\/boot<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">\/srv<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">\/opt<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>1<\/b><span style=\"font-weight: 400;\">.<\/span> <b>\/tmp<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/tmp<\/span><span style=\"font-weight: 400;\"> directory is traditionally used for temporary files created by applications and users. Files placed there are generally considered temporary and may be removed automatically depending on the Linux distribution and its system configuration. Because temporary data may disappear, users should not treat <\/span><span style=\"font-weight: 400;\">\/tmp<\/span><span style=\"font-weight: 400;\"> as a reliable location for permanent storage. <\/span><span style=\"font-weight: 400;\">\/boot<\/span><span style=\"font-weight: 400;\"> contains boot-related files, <\/span><span style=\"font-weight: 400;\">\/srv<\/span><span style=\"font-weight: 400;\"> is associated with data served by system services, and <\/span><span style=\"font-weight: 400;\">\/opt<\/span><span style=\"font-weight: 400;\"> is commonly used for optional application software. Understanding the purpose of standard directories helps administrators select appropriate locations for different types of data.<\/span><\/p>\n<p><b>Question: 104. Which directory is commonly associated with optional third-party application software?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/var<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">\/opt<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">\/tmp<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">\/dev<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>2.<\/b> <b>\/opt<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/opt<\/span><span style=\"font-weight: 400;\"> directory is traditionally intended for optional or add-on application software. Software installed under <\/span><span style=\"font-weight: 400;\">\/opt<\/span><span style=\"font-weight: 400;\"> may be maintained separately from the operating system&#8217;s standard package locations. This directory is particularly useful for applications that are distributed independently or installed as self-contained software trees. <\/span><span style=\"font-weight: 400;\">\/var<\/span><span style=\"font-weight: 400;\"> is generally associated with variable data such as logs and caches, <\/span><span style=\"font-weight: 400;\">\/tmp<\/span><span style=\"font-weight: 400;\"> is intended for temporary files, and <\/span><span style=\"font-weight: 400;\">\/dev<\/span><span style=\"font-weight: 400;\"> provides interfaces to devices. Although modern distributions may organize software in different ways, <\/span><span style=\"font-weight: 400;\">\/opt<\/span><span style=\"font-weight: 400;\"> remains a recognized location in the Linux filesystem hierarchy.<\/span><\/p>\n<p><b>Question: 105. Which directory is intended for data that is served by system services?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/srv<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">\/home<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">\/proc<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">\/run<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>1. <\/b><b>\/srv<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/srv<\/span><span style=\"font-weight: 400;\"> directory is traditionally designated for data served by system services. For example, a server application may store service-related data beneath an appropriate directory under <\/span><span style=\"font-weight: 400;\">\/srv<\/span><span style=\"font-weight: 400;\">. The filesystem hierarchy standard distinguishes this location from <\/span><span style=\"font-weight: 400;\">\/home<\/span><span style=\"font-weight: 400;\">, which contains users&#8217; home directories, and <\/span><span style=\"font-weight: 400;\">\/proc<\/span><span style=\"font-weight: 400;\">, which provides a virtual filesystem containing process and kernel information. <\/span><span style=\"font-weight: 400;\">\/run<\/span><span style=\"font-weight: 400;\"> contains runtime data created after boot, such as information associated with currently running services and processes. The exact organization of service data varies between applications and distributions, but <\/span><span style=\"font-weight: 400;\">\/srv<\/span><span style=\"font-weight: 400;\"> has a defined conventional purpose.<\/span><\/p>\n<p><b>Question: 106. Which command unmounts a filesystem from the Linux directory hierarchy?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">detach<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">unmount<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">umount<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">removefs<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>3. <\/b><b>umount<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">umount<\/span><span style=\"font-weight: 400;\"> command removes a mounted filesystem from the directory hierarchy. Before a filesystem can normally be unmounted, it should not be actively in use by processes or have a working directory located within the mounted filesystem. For example, an administrator might use <\/span><span style=\"font-weight: 400;\">umount \/mnt\/data<\/span><span style=\"font-weight: 400;\"> after finishing work with a mounted device. The command name is abbreviated as <\/span><span style=\"font-weight: 400;\">umount<\/span><span style=\"font-weight: 400;\">, rather than <\/span><span style=\"font-weight: 400;\">unmount<\/span><span style=\"font-weight: 400;\">. If an unmount operation fails because the filesystem is busy, the administrator may need to identify the processes or shells currently accessing it before trying again.<\/span><\/p>\n<p><b>Question: 107. Which command displays the kernel ring buffer messages?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">kernel-log<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">dmesg<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">kmsgshow<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">syslog<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>2. <\/b><b>dmesg<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">dmesg<\/span><span style=\"font-weight: 400;\"> command displays messages from the Linux kernel&#8217;s ring buffer. These messages can provide useful information about hardware detection, device drivers, boot activity, and other kernel-level events. Administrators often use <\/span><span style=\"font-weight: 400;\">dmesg<\/span><span style=\"font-weight: 400;\"> when troubleshooting newly connected hardware or investigating kernel-related issues. On many modern systems, kernel messages are also collected by logging services such as <\/span><span style=\"font-weight: 400;\">systemd-journald<\/span><span style=\"font-weight: 400;\">, but <\/span><span style=\"font-weight: 400;\">dmesg<\/span><span style=\"font-weight: 400;\"> remains an important command-line tool for examining kernel messages directly. The commands <\/span><span style=\"font-weight: 400;\">kernel-log<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">kmsgshow<\/span><span style=\"font-weight: 400;\"> are not standard commands, while <\/span><span style=\"font-weight: 400;\">syslog<\/span><span style=\"font-weight: 400;\"> refers more broadly to system logging mechanisms.<\/span><\/p>\n<p><b>Question: 108. Which command displays how long the system has been running and provides load-average information?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">uptime<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">runtime<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">loadtime<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">systemtime<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>1. <\/b><b>uptime<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">uptime<\/span><span style=\"font-weight: 400;\"> command displays the current time, how long the system has been running, the number of currently logged-in users, and system load averages. The load averages represent the average number of tasks in runnable or uninterruptible states over specified time periods. These values provide a quick indication of system workload, although they should be interpreted together with CPU, memory, and process information. The command does not simply report the current clock time. Commands such as <\/span><span style=\"font-weight: 400;\">runtime<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">loadtime<\/span><span style=\"font-weight: 400;\">, and <\/span><span style=\"font-weight: 400;\">systemtime<\/span><span style=\"font-weight: 400;\"> are not standard Linux commands for obtaining this combined system-status information.<\/span><\/p>\n<p><b>Question: 109. Which command provides information about available and used swap and physical memory?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">ramstat<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">memory<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">free<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">swapshow<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>3. <\/b><b>free<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">free<\/span><span style=\"font-weight: 400;\"> command displays information about physical memory and swap usage. Its output commonly includes total, used, free, shared, buffer\/cache, and available memory values, along with corresponding swap information. The <\/span><span style=\"font-weight: 400;\">-h<\/span><span style=\"font-weight: 400;\"> option can make the values easier to read. This makes <\/span><span style=\"font-weight: 400;\">free<\/span><span style=\"font-weight: 400;\"> useful for a quick overview of memory conditions. It should not be interpreted as a complete performance diagnosis because memory usage needs to be considered alongside workload, cache behavior, and other system metrics. Commands such as <\/span><span style=\"font-weight: 400;\">ramstat<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">swapshow<\/span><span style=\"font-weight: 400;\"> are not standard replacements for <\/span><span style=\"font-weight: 400;\">free<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><b>Question: 110. Which compression utility is commonly used to compress files using the bzip2 algorithm?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">gzip<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">bzip2<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">compress2<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">zip2<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>bzip2<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">bzip2<\/span><span style=\"font-weight: 400;\"> command compresses files using the bzip2 compression algorithm. A file such as <\/span><span style=\"font-weight: 400;\">example.txt<\/span><span style=\"font-weight: 400;\"> can be compressed with <\/span><span style=\"font-weight: 400;\">bzip2 example.txt<\/span><span style=\"font-weight: 400;\">, producing a compressed file with a <\/span><span style=\"font-weight: 400;\">.bz2<\/span><span style=\"font-weight: 400;\"> suffix. The corresponding <\/span><span style=\"font-weight: 400;\">bunzip2<\/span><span style=\"font-weight: 400;\"> command can decompress bzip2-compressed files. This is different from <\/span><span style=\"font-weight: 400;\">gzip<\/span><span style=\"font-weight: 400;\">, which uses the gzip compression format and commonly produces <\/span><span style=\"font-weight: 400;\">.gz<\/span><span style=\"font-weight: 400;\"> files. The <\/span><span style=\"font-weight: 400;\">zip<\/span><span style=\"font-weight: 400;\"> format is another compression and archiving format with different characteristics. Understanding common compression utilities is important for Linux administration because compressed files are frequently encountered in backups, software distributions, and log archives.<\/span><\/p>\n<p><b>Question: 111. Which command is commonly used to compress files using the xz compression format?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">xz<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">xzpack<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">compress-x<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">lz<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>1. <\/b><b>xz<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">xz<\/span><span style=\"font-weight: 400;\"> command is used to compress files using the xz compression format. It commonly produces files with a <\/span><span style=\"font-weight: 400;\">.xz<\/span><span style=\"font-weight: 400;\"> extension and is frequently encountered in Linux software packages, source archives, and distribution files. The command can also decompress xz-compressed data, depending on the options and invocation used. xz is a compression utility rather than a general-purpose archive format like <\/span><span style=\"font-weight: 400;\">tar<\/span><span style=\"font-weight: 400;\">; it normally operates on individual files unless combined with another tool. Understanding the distinction between archiving and compression helps explain why commands such as <\/span><span style=\"font-weight: 400;\">tar<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">xz<\/span><span style=\"font-weight: 400;\"> are often used together.<\/span><\/p>\n<p><b>Question: 112. What is the primary purpose of the <\/b><b>tar<\/b><b> command when used without a compression option?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> To encrypt files<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> To create an archive containing multiple files<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> To change file permissions<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> To format a filesystem<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>2.<\/b><span style=\"font-weight: 400;\"> To create an archive containing multiple files<\/span><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">tar<\/span><span style=\"font-weight: 400;\"> command is primarily used to create and manipulate archives. An archive can contain multiple files and directories while preserving information such as paths and, depending on options, metadata. By itself, tar is an archiving tool rather than a compression algorithm. Compression can be combined with tar through options that invoke formats such as gzip, bzip2, or xz. For example, a <\/span><span style=\"font-weight: 400;\">.tar.gz<\/span><span style=\"font-weight: 400;\"> file represents a tar archive that has additionally been compressed with gzip. Understanding this distinction is important when working with Linux backups, software source packages, and distribution archives.<\/span><\/p>\n<p><b>Question: 113. Which permission special bit causes files created inside a directory to inherit the directory&#8217;s group ownership in the traditional SGID directory behavior?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> SUID<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Sticky bit<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> SGID<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Read bit<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>3. SGID<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The SGID, or set-group-ID, special permission bit has a useful directory-specific behavior on Linux. When SGID is set on a directory, newly created files and subdirectories generally inherit the directory&#8217;s group ownership rather than simply using the creating user&#8217;s default group. This is particularly useful for shared project directories where multiple users need to collaborate under a common group. SGID has a different meaning when applied to executable files. The SUID bit affects executable behavior, while the sticky bit on a directory restricts deletion of entries according to ownership and permission rules.<\/span><\/p>\n<p><b>Question: 114. What is the primary effect of the sticky bit on a shared directory such as <\/b><b>\/tmp<\/b><b>?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> It makes every file executable<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> It forces all files to have the same group<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> It prevents ordinary users from deleting files they do not own<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> It encrypts directory contents<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>3<\/b><span style=\"font-weight: 400;\">. It prevents ordinary users from deleting files they do not own<\/span><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The sticky bit on a directory restricts deletion and renaming of entries by ordinary users. In a shared directory such as <\/span><span style=\"font-weight: 400;\">\/tmp<\/span><span style=\"font-weight: 400;\">, users may create files that are visible to others, but one user should not normally be able to remove or rename another user&#8217;s files merely because the directory is writable. The sticky bit provides this additional protection. It does not encrypt files, force all files to share the same group, or make files executable. Administrators can identify the sticky bit in directory permissions, where it may appear as a <\/span><span style=\"font-weight: 400;\">t<\/span><span style=\"font-weight: 400;\"> in the appropriate execute-permission position.<\/span><\/p>\n<p><b>Question: 115. Which permission special bit allows an executable to run with the effective user ID of the file owner?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> SUID<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> SGID<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Sticky bit<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> ACL<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>1. SUID<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The SUID, or set-user-ID, permission bit causes an executable program to run with the effective user ID of the file owner rather than simply the ID of the user who launched it. This mechanism allows certain programs to perform operations that require additional privileges while still being invoked by ordinary users. Because SUID programs can have security implications, they should be carefully controlled and audited. SGID is a different special permission that can affect group identity, while the sticky bit provides directory deletion restrictions. ACLs provide additional access-control rules beyond traditional Unix permission bits.<\/span><\/p>\n<p><b>Question: 116. Which command can change the owner and group associated with a file?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">chmod<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">chown<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">chperm<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">owner<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>2. <\/b><b>chown<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">chown<\/span><span style=\"font-weight: 400;\"> command changes the ownership of files and directories. It can be used to change the user owner and, with appropriate syntax, the group associated with an object. For example, an administrator can use a command such as <\/span><span style=\"font-weight: 400;\">chown user:group file<\/span><span style=\"font-weight: 400;\"> to specify both. The <\/span><span style=\"font-weight: 400;\">chmod<\/span><span style=\"font-weight: 400;\"> command instead changes permission bits, controlling read, write, and execute access. Ownership changes are generally subject to permission restrictions, and changing ownership to another user commonly requires administrative privileges. Understanding ownership separately from permissions is fundamental to managing access to Linux files and directories.<\/span><\/p>\n<p><b>Question: 117. Which command changes the permissions associated with a file or directory?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">chmod<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">chperm<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">access<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">permset<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>1. <\/b><b>chmod<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">chmod<\/span><span style=\"font-weight: 400;\"> command changes the permission bits of files and directories. It supports symbolic notation, such as <\/span><span style=\"font-weight: 400;\">u+x<\/span><span style=\"font-weight: 400;\">, as well as numeric notation, such as <\/span><span style=\"font-weight: 400;\">755<\/span><span style=\"font-weight: 400;\">. These permissions determine whether the owner, group, and other users can read, write, or execute the object. <\/span><span style=\"font-weight: 400;\">chmod<\/span><span style=\"font-weight: 400;\"> does not change the file&#8217;s owner or group; that task is handled by commands such as <\/span><span style=\"font-weight: 400;\">chown<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">chgrp<\/span><span style=\"font-weight: 400;\">. Correct permission management is an important part of Linux security because overly broad permissions can expose data or allow unintended modifications, while overly restrictive permissions can prevent legitimate users and applications from functioning.<\/span><\/p>\n<p><b>Question: 118. Which command displays the current system&#8217;s kernel and architecture information?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">systeminfo<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">uname<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">kernelinfo<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">archinfo<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>2. <\/b><b>uname<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">uname<\/span><span style=\"font-weight: 400;\"> command displays system information such as the kernel name, depending on the options supplied. For example, <\/span><span style=\"font-weight: 400;\">uname -a<\/span><span style=\"font-weight: 400;\"> requests a broad set of available system information, which can include the kernel release and machine architecture. This is useful when identifying the operating system environment or checking which kernel is currently running. The command does not provide every possible hardware detail, but it provides important kernel and system identification information. Commands such as <\/span><span style=\"font-weight: 400;\">systeminfo<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">kernelinfo<\/span><span style=\"font-weight: 400;\">, and <\/span><span style=\"font-weight: 400;\">archinfo<\/span><span style=\"font-weight: 400;\"> are not standard Linux replacements for <\/span><span style=\"font-weight: 400;\">uname<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><b>Question: 119. Which command can display the full path of an executable found through the shell&#8217;s PATH search?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">whereis<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">locate<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">which<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">pathfind<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>3. <\/b><b>which<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">which<\/span><span style=\"font-weight: 400;\"> command can display the path of an executable that would be found through the directories listed in the <\/span><span style=\"font-weight: 400;\">PATH<\/span><span style=\"font-weight: 400;\"> environment variable. For example, <\/span><span style=\"font-weight: 400;\">which python<\/span><span style=\"font-weight: 400;\"> may return the location of the Python executable selected by the current PATH. It is useful when multiple versions of a program may exist on a system. The <\/span><span style=\"font-weight: 400;\">locate<\/span><span style=\"font-weight: 400;\"> command searches a file-name database, while <\/span><span style=\"font-weight: 400;\">whereis<\/span><span style=\"font-weight: 400;\"> can search for binaries, source files, and manual pages using its own rules. The shell&#8217;s <\/span><span style=\"font-weight: 400;\">type<\/span><span style=\"font-weight: 400;\"> command can provide broader information about command resolution, including aliases and builtins.<\/span><\/p>\n<p><b>Question: 120. Which command changes the priority value of a process when starting a new command?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">renice<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">priority<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">nice<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">setprio<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b> <b>3. <\/b><b>nice<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">nice<\/span><span style=\"font-weight: 400;\"> command starts a new command with an adjusted scheduling nice value. A nice value influences the scheduling priority of a process relative to other processes. For example, an administrator can use <\/span><span style=\"font-weight: 400;\">nice<\/span><span style=\"font-weight: 400;\"> when starting a CPU-intensive task to adjust how aggressively it competes for CPU time. This differs from <\/span><span style=\"font-weight: 400;\">renice<\/span><span style=\"font-weight: 400;\">, which is used to modify the nice value of a process that is already running. The exact range and permission requirements depend on the Linux implementation. Understanding <\/span><span style=\"font-weight: 400;\">nice<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">renice<\/span><span style=\"font-weight: 400;\"> helps administrators manage CPU scheduling behavior for competing workloads.<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>View Full LPI 101-500 Exam Dumps and Practice Test Dumps &nbsp; Question: 101. Which command displays the amount of free and used disk space on mounted filesystems? du 2. lsblk 3. df 4. disk Correct Answer: 3. df Explanation: The df command reports the amount of available and used disk space on mounted filesystems. It [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1648,1647],"tags":[],"_links":{"self":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/18618"}],"collection":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/comments?post=18618"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/18618\/revisions"}],"predecessor-version":[{"id":18619,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/18618\/revisions\/18619"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=18618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=18618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=18618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}