{"id":18624,"date":"2026-09-22T08:55:15","date_gmt":"2026-09-22T08:55:15","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=18624"},"modified":"2026-09-22T08:55:15","modified_gmt":"2026-09-22T08:55:15","slug":"lpi-101-500-practice-test-questions-and-exam-dumps-part-10-q181-200","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/lpi-101-500-practice-test-questions-and-exam-dumps-part-10-q181-200\/","title":{"rendered":"LPI 101-500 Practice Test Questions and Exam Dumps Part 10 Q181-200"},"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: 181. Which directory is commonly used as a template for files and directories created for new users?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/etc\/default<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">\/etc\/skel<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">\/etc\/init.d<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">\/etc\/modules<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>\/etc\/skel<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/etc\/skel<\/span><span style=\"font-weight: 400;\"> directory is commonly used as a skeleton or template directory for new user accounts. When a user account is created, appropriate files from <\/span><span style=\"font-weight: 400;\">\/etc\/skel<\/span><span style=\"font-weight: 400;\"> may be copied into the new user&#8217;s home directory. These files can include shell configuration files such as <\/span><span style=\"font-weight: 400;\">.profile<\/span><span style=\"font-weight: 400;\"> or other default settings. This provides administrators with a convenient way to establish standard initial configurations for users. The exact files placed there can vary between Linux distributions and system configurations. The important concept for the LPI exam is that <\/span><span style=\"font-weight: 400;\">\/etc\/skel<\/span><span style=\"font-weight: 400;\"> provides default home-directory content used when creating new user accounts.<\/span><\/p>\n<p><b>Question: 182. Which file commonly contains DNS resolver configuration information on traditional Linux systems?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/etc\/hosts<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">\/etc\/fstab<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">\/etc\/hostname<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">\/etc\/resolv.conf<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. <\/b><b>\/etc\/resolv.conf<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/etc\/resolv.conf<\/span><span style=\"font-weight: 400;\"> file traditionally contains DNS resolver configuration information. It commonly specifies DNS nameserver addresses and may include search-domain settings. When an application needs to translate a hostname into an IP address, the system&#8217;s resolver configuration helps determine where DNS queries should be sent. Modern Linux systems may manage this file dynamically through services such as NetworkManager or systemd-resolved, so administrators should understand that its contents may not always be manually maintained. For LPI purposes, the key association is that <\/span><span style=\"font-weight: 400;\">\/etc\/resolv.conf<\/span><span style=\"font-weight: 400;\"> is related to hostname resolution and DNS resolver settings.<\/span><\/p>\n<p><b>Question: 183. Which command option is commonly used with <\/b><b>ls<\/b><b> to display hidden files in a directory?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">ls -a<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">ls -r<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">ls -h<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">ls -t<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>ls -a<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">-a<\/span><span style=\"font-weight: 400;\"> option of the <\/span><span style=\"font-weight: 400;\">ls<\/span><span style=\"font-weight: 400;\"> command tells Linux to display all directory entries, including hidden files. In Linux, filenames beginning with a dot are normally hidden from a standard <\/span><span style=\"font-weight: 400;\">ls<\/span><span style=\"font-weight: 400;\"> listing. Running <\/span><span style=\"font-weight: 400;\">ls -a<\/span><span style=\"font-weight: 400;\"> therefore displays entries such as <\/span><span style=\"font-weight: 400;\">.bashrc<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">.profile<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">.<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">..<\/span><span style=\"font-weight: 400;\"> along with ordinary files. The <\/span><span style=\"font-weight: 400;\">.<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">..<\/span><span style=\"font-weight: 400;\"> entries represent the current and parent directories respectively. Other <\/span><span style=\"font-weight: 400;\">ls<\/span><span style=\"font-weight: 400;\"> options have different purposes, such as sorting by modification time, displaying human-readable sizes, or reversing the listing. Remember that hidden files are not necessarily protected files; they are simply excluded from normal directory listings.<\/span><\/p>\n<p><b>Question: 184. What does the <\/b><b>sleep<\/b><b> command primarily do?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Terminates a running process<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Changes the system clock<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Pauses execution for a specified amount of time<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Displays the current system uptime<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. Pauses execution for a specified amount of time<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">sleep<\/span><span style=\"font-weight: 400;\"> command pauses execution for a specified period. It is commonly used in shell scripts when a script needs to wait before continuing with the next operation. For example, a script might use <\/span><span style=\"font-weight: 400;\">sleep 5<\/span><span style=\"font-weight: 400;\"> to wait approximately five seconds. The command does not change the system clock, terminate another process, or report system uptime. The duration can be expressed using supported time units depending on the implementation, such as seconds, minutes, hours, or days. Understanding <\/span><span style=\"font-weight: 400;\">sleep<\/span><span style=\"font-weight: 400;\"> is useful when working with automation, timing-dependent scripts, retries, and simple demonstrations of process behavior.<\/span><\/p>\n<p><b>Question: 185. Which directory is commonly used for temporary mount points created by administrators?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/boot<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">\/usr<\/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;\">\/mnt<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. <\/b><b>\/mnt<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/mnt<\/span><span style=\"font-weight: 400;\"> directory is traditionally used as a temporary mount point for manually mounted filesystems. An administrator may mount a disk partition, network filesystem, or other storage resource under a directory such as <\/span><span style=\"font-weight: 400;\">\/mnt<\/span><span style=\"font-weight: 400;\">. This differs from <\/span><span style=\"font-weight: 400;\">\/media<\/span><span style=\"font-weight: 400;\">, which is commonly associated with automatically mounted removable media in desktop-oriented environments. The exact conventions can vary, but <\/span><span style=\"font-weight: 400;\">\/mnt<\/span><span style=\"font-weight: 400;\"> remains an important filesystem hierarchy concept. A mount point is simply a directory where the contents of another filesystem become accessible. The command used to perform the operation is <\/span><span style=\"font-weight: 400;\">mount<\/span><span style=\"font-weight: 400;\">, while <\/span><span style=\"font-weight: 400;\">\/mnt<\/span><span style=\"font-weight: 400;\"> provides a conventional location for temporary or manually managed mounts.<\/span><\/p>\n<p><b>Question: 186. What is the primary purpose of the <\/b><b>\/run<\/b><b> directory on a modern Linux system?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Store runtime data for currently running processes and services<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Store permanent user documents<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Store bootloader configuration permanently<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Store archived log files<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. Store runtime data for currently running processes and services<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/run<\/span><span style=\"font-weight: 400;\"> directory is intended for volatile runtime data associated with the currently running system. It can contain information such as process identifiers, sockets, lock files, and other data needed by active services. Unlike persistent configuration directories, <\/span><span style=\"font-weight: 400;\">\/run<\/span><span style=\"font-weight: 400;\"> is generally associated with the current boot session and its contents may be recreated when the system starts. It should therefore not be treated as a normal location for permanent user files. The Linux filesystem hierarchy uses <\/span><span style=\"font-weight: 400;\">\/run<\/span><span style=\"font-weight: 400;\"> to provide a standardized location for runtime state. The important exam concept is the distinction between temporary runtime information and persistent system configuration.<\/span><\/p>\n<p><b>Question: 187. Which command can display the target of a symbolic link?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">readlink<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">mkdir<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">touch<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">chmod<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>readlink<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">readlink<\/span><span style=\"font-weight: 400;\"> command can display information about symbolic links, including the path to which a symbolic link points. Symbolic links are filesystem objects that contain a reference to another pathname rather than directly representing the target file&#8217;s data. For example, if <\/span><span style=\"font-weight: 400;\">current<\/span><span style=\"font-weight: 400;\"> is a symbolic link pointing to <\/span><span style=\"font-weight: 400;\">\/opt\/application<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">readlink current<\/span><span style=\"font-weight: 400;\"> can return <\/span><span style=\"font-weight: 400;\">\/opt\/application<\/span><span style=\"font-weight: 400;\">. This is useful when troubleshooting links, examining directory structures, or determining where a link resolves. The command should be distinguished from <\/span><span style=\"font-weight: 400;\">chmod<\/span><span style=\"font-weight: 400;\">, which changes permissions, <\/span><span style=\"font-weight: 400;\">touch<\/span><span style=\"font-weight: 400;\">, which creates or updates files, and <\/span><span style=\"font-weight: 400;\">mkdir<\/span><span style=\"font-weight: 400;\">, which creates directories.<\/span><\/p>\n<p><b>Question: 188. What happens to a symbolic link when its target file is removed?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> The symbolic link automatically becomes a hard link<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> The symbolic link is automatically deleted<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> The symbolic link becomes a dangling or broken link<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> The symbolic link creates a new target file<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. The symbolic link becomes a dangling or broken link<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">A symbolic link stores a pathname pointing to another file or directory. If that target is removed or moved so that the stored pathname no longer identifies a valid target, the symbolic link itself normally remains. It becomes a dangling, broken, or unresolved symbolic link. Attempting to access the target through the link will fail because the referenced pathname cannot be resolved. This behavior is different from a hard link, which refers to the same underlying inode as the target and therefore remains associated with the file data while at least one hard link exists. Understanding this distinction is important when troubleshooting filesystem links.<\/span><\/p>\n<p><b>Question: 189. Which command is commonly used to compare two text files line by line?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">diff<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">sleep<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">echo<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">basename<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>diff<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">diff<\/span><span style=\"font-weight: 400;\"> command is commonly used to compare files and identify differences between them. For text files, it can report lines that need to be added, removed, or changed to transform one file into another. This makes <\/span><span style=\"font-weight: 400;\">diff<\/span><span style=\"font-weight: 400;\"> useful for checking configuration changes, reviewing revisions, troubleshooting scripts, and preparing patches. A common form is <\/span><span style=\"font-weight: 400;\">diff file1 file2<\/span><span style=\"font-weight: 400;\">. The command does not modify the compared files merely by examining them. Other commands have unrelated purposes: <\/span><span style=\"font-weight: 400;\">sleep<\/span><span style=\"font-weight: 400;\"> pauses execution, <\/span><span style=\"font-weight: 400;\">echo<\/span><span style=\"font-weight: 400;\"> displays text, and <\/span><span style=\"font-weight: 400;\">basename<\/span><span style=\"font-weight: 400;\"> extracts the final component of a pathname. For LPI preparation, associate <\/span><span style=\"font-weight: 400;\">diff<\/span><span style=\"font-weight: 400;\"> with comparing file contents.<\/span><\/p>\n<p><b>Question: 190. Which command is designed to compare two files byte by byte and report whether they differ?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">grep<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">cmp<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">sort<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">wc<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>cmp<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">cmp<\/span><span style=\"font-weight: 400;\"> command compares two files byte by byte. It is useful when the goal is to determine whether two files are identical or to identify the first position where their contents differ. Unlike <\/span><span style=\"font-weight: 400;\">diff<\/span><span style=\"font-weight: 400;\">, which is especially useful for presenting meaningful line-oriented differences in text files, <\/span><span style=\"font-weight: 400;\">cmp<\/span><span style=\"font-weight: 400;\"> performs a direct comparison of the file data. This makes it useful for binary files as well as text files when an exact byte-level comparison is desired. If the files are identical, <\/span><span style=\"font-weight: 400;\">cmp<\/span><span style=\"font-weight: 400;\"> normally produces no output and returns a successful status. If differences are found, it reports them according to its options.<\/span><\/p>\n<p><b>Question: 191. Which command is commonly used to perform basic text substitutions on input using editing commands?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">sed<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">ps<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">mount<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">jobs<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>sed<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">sed<\/span><span style=\"font-weight: 400;\">, the stream editor, is commonly used to process and transform text streams. One of its most familiar uses is performing substitutions, such as replacing one string with another in lines of input. A typical form is <\/span><span style=\"font-weight: 400;\">sed &#8216;s\/old\/new\/&#8217; file<\/span><span style=\"font-weight: 400;\">, although many additional editing operations are available. <\/span><span style=\"font-weight: 400;\">sed<\/span><span style=\"font-weight: 400;\"> reads input, applies specified editing commands, and writes the resulting text to standard output unless options or redirection change that behavior. It is particularly useful in shell scripts and automation because it can process large amounts of text without requiring interactive editing. LPI candidates should recognize <\/span><span style=\"font-weight: 400;\">sed<\/span><span style=\"font-weight: 400;\"> as a stream-oriented text-processing tool.<\/span><\/p>\n<p><b>Question: 192. Which command is commonly used for pattern-based text processing and field-oriented data extraction?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">sleep<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">mount<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">awk<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">ln<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>awk<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">awk<\/span><span style=\"font-weight: 400;\"> is a powerful text-processing language commonly used from the Linux command line. It is particularly useful for processing structured text divided into records and fields. An <\/span><span style=\"font-weight: 400;\">awk<\/span><span style=\"font-weight: 400;\"> program can select lines based on patterns, perform calculations, manipulate fields, and generate formatted output. For example, <\/span><span style=\"font-weight: 400;\">awk &#8216;{print $1}&#8217; file<\/span><span style=\"font-weight: 400;\"> can print the first field from each input line using the default field separation behavior. Although <\/span><span style=\"font-weight: 400;\">awk<\/span><span style=\"font-weight: 400;\"> can perform complex programming tasks, the LPI exam often focuses on recognizing its role in text and data processing. It should not be confused with commands intended primarily for mounting filesystems, creating links, or pausing execution.<\/span><\/p>\n<p><b>Question: 193. Which command option is commonly used to display filesystem types along with disk usage information?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">df -T<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">df -h<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">df -i<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">df -a<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>df -T<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">-T<\/span><span style=\"font-weight: 400;\"> option of <\/span><span style=\"font-weight: 400;\">df<\/span><span style=\"font-weight: 400;\"> causes filesystem type information to be displayed along with filesystem usage information on implementations that support this option. The <\/span><span style=\"font-weight: 400;\">df<\/span><span style=\"font-weight: 400;\"> command itself reports information about available and used space on mounted filesystems. Other options provide different forms of information. For example, <\/span><span style=\"font-weight: 400;\">-h<\/span><span style=\"font-weight: 400;\"> commonly presents sizes in human-readable units, while other options can control which filesystems or inode information are displayed. Knowing <\/span><span style=\"font-weight: 400;\">df -T<\/span><span style=\"font-weight: 400;\"> is useful when an administrator needs both capacity information and the filesystem type, such as determining whether a mounted filesystem uses ext4, XFS, or another supported filesystem.<\/span><\/p>\n<p><b>Question: 194. Which command is commonly used to display block-device information including filesystem-related details when used with the <\/b><b>-f<\/b><b> option?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">free -f<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">lsblk -f<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">ps -f<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">du -f<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>lsblk -f<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">lsblk<\/span><span style=\"font-weight: 400;\"> command displays information about block devices such as disks and partitions. When used with the <\/span><span style=\"font-weight: 400;\">-f<\/span><span style=\"font-weight: 400;\"> option, it commonly includes filesystem-related information such as filesystem type, label, UUID, and mount point, depending on the system and available metadata. This makes <\/span><span style=\"font-weight: 400;\">lsblk -f<\/span><span style=\"font-weight: 400;\"> useful when identifying storage devices and determining how filesystems are associated with partitions. It is especially helpful during system administration tasks involving disks and mounts. The command does not itself mount or format devices. The key LPI association is that <\/span><span style=\"font-weight: 400;\">lsblk -f<\/span><span style=\"font-weight: 400;\"> combines block-device information with filesystem details.<\/span><\/p>\n<p><b>Question: 195. Which command can display filesystem UUIDs and other block-device attributes?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">blkid<\/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;\">who<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">jobs<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>blkid<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">blkid<\/span><span style=\"font-weight: 400;\"> command is commonly used to display block-device attributes, including filesystem type, filesystem label, and UUID. UUIDs are useful because they provide persistent identifiers that can be used in configuration files such as <\/span><span style=\"font-weight: 400;\">\/etc\/fstab<\/span><span style=\"font-weight: 400;\">, rather than relying exclusively on device names that may vary between boots. Administrators can use <\/span><span style=\"font-weight: 400;\">blkid<\/span><span style=\"font-weight: 400;\"> when identifying partitions and determining their filesystem metadata. The exact output depends on the devices and permissions available on the system. The important LPI concept is that <\/span><span style=\"font-weight: 400;\">blkid<\/span><span style=\"font-weight: 400;\"> is associated with identifying block devices and their filesystem attributes, especially UUID and filesystem type information.<\/span><\/p>\n<p><b>Question: 196. What does the execute permission on a directory generally allow a user to do?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> Read every file automatically<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Delete the filesystem<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b><span style=\"font-weight: 400;\"> Access or traverse entries within the directory when other permissions allow<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Change the owner of the directory<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. Access or traverse entries within the directory when other permissions allow<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Execute permission on a directory has a different meaning from execute permission on a regular file. For a directory, execute permission generally allows a user to traverse the directory and access entries when the necessary permissions on those entries are also satisfied. For example, a user may need directory execute permission to access a known file inside that directory. Read permission on a directory is associated with being able to list its entries, while write permission can allow entries to be created, removed, or renamed when combined with appropriate permissions. Understanding directory permission semantics is important because <\/span><span style=\"font-weight: 400;\">r<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">w<\/span><span style=\"font-weight: 400;\">, and <\/span><span style=\"font-weight: 400;\">x<\/span><span style=\"font-weight: 400;\"> behave differently depending on the object type.<\/span><\/p>\n<p><b>Question: 197. Which keyboard shortcut normally sends SIGINT to the foreground process in a terminal?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">Ctrl+Z<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">Ctrl+D<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">Ctrl+S<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">Ctrl+C<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. <\/b><b>Ctrl+C<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">In a typical interactive terminal, pressing <\/span><span style=\"font-weight: 400;\">Ctrl+C<\/span><span style=\"font-weight: 400;\"> causes the terminal driver to send the SIGINT signal to the foreground process group. SIGINT is commonly interpreted by programs as an interrupt request and often causes the current command to terminate, although a program can handle or ignore the signal. This differs from <\/span><span style=\"font-weight: 400;\">Ctrl+Z<\/span><span style=\"font-weight: 400;\">, which normally sends SIGTSTP and suspends the foreground process. <\/span><span style=\"font-weight: 400;\">Ctrl+D<\/span><span style=\"font-weight: 400;\"> is generally associated with an end-of-file indication rather than a signal such as SIGINT. The exact behavior can depend on terminal configuration and the program, but <\/span><span style=\"font-weight: 400;\">Ctrl+C<\/span><span style=\"font-weight: 400;\"> is the standard association for SIGINT.<\/span><\/p>\n<p><b>Question: 198. Which keyboard shortcut normally suspends a foreground process in an interactive shell?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">Ctrl+Z<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">Ctrl+C<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">Ctrl+D<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">Ctrl+R<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>Ctrl+Z<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">In a typical interactive shell, pressing <\/span><span style=\"font-weight: 400;\">Ctrl+Z<\/span><span style=\"font-weight: 400;\"> causes the terminal to send the SIGTSTP signal to the foreground process group. This normally suspends the process rather than terminating it. After suspension, the shell can place the job in the background or bring it back to the foreground using commands such as <\/span><span style=\"font-weight: 400;\">bg<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">fg<\/span><span style=\"font-weight: 400;\">. This is different from <\/span><span style=\"font-weight: 400;\">Ctrl+C<\/span><span style=\"font-weight: 400;\">, which normally sends SIGINT and requests interruption. <\/span><span style=\"font-weight: 400;\">Ctrl+Z<\/span><span style=\"font-weight: 400;\"> is therefore an important part of Linux job control. Understanding the relationship between keyboard shortcuts, signals, and shell jobs helps explain how interactive processes can be paused and resumed.<\/span><\/p>\n<p><b>Question: 199. Which command can be used to display the absolute path of a command or executable that would be found through the user&#8217;s PATH?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">touch<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">realpath<\/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;\">mkdir<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>which<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">which<\/span><span style=\"font-weight: 400;\"> command is commonly used to locate the executable associated with a command by searching directories listed in the user&#8217;s <\/span><span style=\"font-weight: 400;\">PATH<\/span><span style=\"font-weight: 400;\">. For example, <\/span><span style=\"font-weight: 400;\">which python<\/span><span style=\"font-weight: 400;\"> may display the pathname of the Python executable that would be selected when the command is entered. This can help diagnose situations where multiple versions of a program are installed. <\/span><span style=\"font-weight: 400;\">which<\/span><span style=\"font-weight: 400;\"> is different from <\/span><span style=\"font-weight: 400;\">realpath<\/span><span style=\"font-weight: 400;\">, which resolves a pathname to its canonical form, and from <\/span><span style=\"font-weight: 400;\">mkdir<\/span><span style=\"font-weight: 400;\"> or <\/span><span style=\"font-weight: 400;\">touch<\/span><span style=\"font-weight: 400;\">, which create or modify filesystem objects. Shell behavior can involve aliases, functions, and builtins that are not necessarily represented by <\/span><span style=\"font-weight: 400;\">which<\/span><span style=\"font-weight: 400;\">, so it should be understood as a command-path lookup tool.<\/span><\/p>\n<p><b>Question: 200. Which command can resolve a pathname to its canonical absolute path, resolving symbolic links and special path components?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">basename<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">realpath<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">echo<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">wc<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>realpath<\/b><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">realpath<\/span><span style=\"font-weight: 400;\"> command can resolve a pathname into a canonical absolute pathname. This process can resolve symbolic links and normalize components such as <\/span><span style=\"font-weight: 400;\">.<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">..<\/span><span style=\"font-weight: 400;\">, depending on the command&#8217;s behavior and options. It is useful when a script or administrator needs to determine the actual canonical location represented by a pathname. This differs from <\/span><span style=\"font-weight: 400;\">basename<\/span><span style=\"font-weight: 400;\">, which extracts the final component of a pathname, and <\/span><span style=\"font-weight: 400;\">echo<\/span><span style=\"font-weight: 400;\">, which simply writes arguments to standard output. <\/span><span style=\"font-weight: 400;\">realpath<\/span><span style=\"font-weight: 400;\"> can therefore be valuable when troubleshooting symbolic links, scripts, and filesystem paths where multiple path representations may refer to the same location.<\/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: 181. Which directory is commonly used as a template for files and directories created for new users? \/etc\/default 2. \/etc\/skel 3. \/etc\/init.d 4. \/etc\/modules Correct Answer: 2. \/etc\/skel Explanation: The \/etc\/skel directory is commonly used as a skeleton or template directory for new [&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\/18624"}],"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=18624"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/18624\/revisions"}],"predecessor-version":[{"id":18625,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/18624\/revisions\/18625"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=18624"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=18624"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=18624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}