{"id":18611,"date":"2026-09-22T08:07:48","date_gmt":"2026-09-22T08:07:48","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=18611"},"modified":"2026-09-22T08:07:48","modified_gmt":"2026-09-22T08:07:48","slug":"lpi-101-500-practice-test-questions-and-exam-dumps-part-3-q41-60","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/lpi-101-500-practice-test-questions-and-exam-dumps-part-3-q41-60\/","title":{"rendered":"LPI 101-500 Practice Test Questions and Exam Dumps Part 3 Q41-60"},"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: 41. Which command is commonly used to display the kernel release and system information?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">sysinfo<\/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;\">release<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 2. <\/span><span style=\"font-weight: 400;\">uname<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">uname<\/span><span style=\"font-weight: 400;\"> command displays information about the running system and Linux kernel. Using <\/span><span style=\"font-weight: 400;\">uname -r<\/span><span style=\"font-weight: 400;\"> displays the kernel release version, while <\/span><span style=\"font-weight: 400;\">uname -a<\/span><span style=\"font-weight: 400;\"> provides a broader set of information such as the kernel name, hostname, release, version, and machine architecture. This command is useful when identifying the kernel currently running or troubleshooting compatibility issues. The other choices are not standard general-purpose Linux commands for retrieving kernel information. Because LPI objectives include understanding basic system information commands, knowing how to use <\/span><span style=\"font-weight: 400;\">uname<\/span><span style=\"font-weight: 400;\"> and its common options is important for Linux administration and system identification.<\/span><\/p>\n<p><b>Question: 42. Which command can be used to locate an executable by searching directories listed in the PATH?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">find<\/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;\">where<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">which<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 4. <\/span><span style=\"font-weight: 400;\">which<\/span><\/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 searches the directories contained in the <\/span><span style=\"font-weight: 400;\">PATH<\/span><span style=\"font-weight: 400;\"> environment variable and reports the executable that would normally be selected for a specified command. For example, <\/span><span style=\"font-weight: 400;\">which python<\/span><span style=\"font-weight: 400;\"> may display the path to the Python executable that the shell will find through <\/span><span style=\"font-weight: 400;\">PATH<\/span><span style=\"font-weight: 400;\">. This is particularly useful when multiple versions of a program are installed. The <\/span><span style=\"font-weight: 400;\">find<\/span><span style=\"font-weight: 400;\"> command searches filesystem hierarchies directly, while <\/span><span style=\"font-weight: 400;\">locate<\/span><span style=\"font-weight: 400;\"> generally searches a filename database. <\/span><span style=\"font-weight: 400;\">where<\/span><span style=\"font-weight: 400;\"> is not the standard Linux command for this purpose. Therefore, <\/span><span style=\"font-weight: 400;\">which<\/span><span style=\"font-weight: 400;\"> is the appropriate utility for determining which executable is found through the current command search path.<\/span><\/p>\n<p><b>Question: 43. Which command can search for files and directories based on specified criteria?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">find<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">search<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">scan<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">locatefile<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 1. <\/span><span style=\"font-weight: 400;\">find<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">find<\/span><span style=\"font-weight: 400;\"> command searches directory hierarchies and can select filesystem objects according to many different criteria. It can search by filename, file type, size, permissions, ownership, modification time, and other attributes. For example, <\/span><span style=\"font-weight: 400;\">find \/home -name &#8220;*.txt&#8221;<\/span><span style=\"font-weight: 400;\"> searches beneath <\/span><span style=\"font-weight: 400;\">\/home<\/span><span style=\"font-weight: 400;\"> for matching text filenames. Unlike <\/span><span style=\"font-weight: 400;\">which<\/span><span style=\"font-weight: 400;\">, which focuses on executable commands in the <\/span><span style=\"font-weight: 400;\">PATH<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">find<\/span><span style=\"font-weight: 400;\"> can examine a specified filesystem hierarchy directly. It is also powerful because its results can be combined with additional actions and commands. The other choices are not standard Linux replacements for the <\/span><span style=\"font-weight: 400;\">find<\/span><span style=\"font-weight: 400;\"> utility.<\/span><\/p>\n<p><b>Question: 44. Which command can search a prebuilt database of filenames to locate files quickly?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">which<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">whereis<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">locate<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">find<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 3. <\/span><span style=\"font-weight: 400;\">locate<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">locate<\/span><span style=\"font-weight: 400;\"> command searches a database containing filesystem path information rather than walking through the filesystem each time. This can make filename searches very fast. However, the database must be updated periodically, so a recently created file might not immediately appear in the results. The <\/span><span style=\"font-weight: 400;\">find<\/span><span style=\"font-weight: 400;\"> command performs a direct search through specified directories and can apply more detailed conditions. <\/span><span style=\"font-weight: 400;\">which<\/span><span style=\"font-weight: 400;\"> focuses on executables found through the <\/span><span style=\"font-weight: 400;\">PATH<\/span><span style=\"font-weight: 400;\">, while <\/span><span style=\"font-weight: 400;\">whereis<\/span><span style=\"font-weight: 400;\"> searches for binary, source, and manual locations associated with commands. Therefore, <\/span><span style=\"font-weight: 400;\">locate<\/span><span style=\"font-weight: 400;\"> is the correct choice when referring specifically to a prebuilt filename database.<\/span><\/p>\n<p><b>Question: 45. Which command can display the contents of a gzip-compressed file without replacing the original compressed file?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">gzipshow<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">unzip -p<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">cat.gz<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">gunzip -c<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 4. <\/span><span style=\"font-weight: 400;\">gunzip -c<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">gunzip -c<\/span><span style=\"font-weight: 400;\"> command decompresses gzip-compressed data and sends the resulting content to standard output. This allows a user to inspect compressed text without first manually extracting it into a separate file. For example, <\/span><span style=\"font-weight: 400;\">gunzip -c logfile.gz<\/span><span style=\"font-weight: 400;\"> can display the decompressed contents in the terminal, and the output can also be passed to another command through a pipeline. The <\/span><span style=\"font-weight: 400;\">unzip<\/span><span style=\"font-weight: 400;\"> utility is designed for ZIP archives, while <\/span><span style=\"font-weight: 400;\">gzipshow<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">cat.gz<\/span><span style=\"font-weight: 400;\"> are not standard Linux commands. The <\/span><span style=\"font-weight: 400;\">-c<\/span><span style=\"font-weight: 400;\"> option is important because it directs decompressed data to standard output instead of replacing the original compressed file.<\/span><\/p>\n<p><b>Question: 46. Which archive utility is commonly used to create and extract tar archives?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">zip<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">tar<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">pack<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">archive<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 2. <\/span><span style=\"font-weight: 400;\">tar<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">tar<\/span><span style=\"font-weight: 400;\"> utility is widely used in Linux to create, inspect, and extract tar archives. A tar archive combines multiple files and directories into one archive while preserving filesystem information such as names and permissions. For example, <\/span><span style=\"font-weight: 400;\">tar -cf archive.tar files\/<\/span><span style=\"font-weight: 400;\"> can create an archive, while <\/span><span style=\"font-weight: 400;\">tar -xf archive.tar<\/span><span style=\"font-weight: 400;\"> can extract one. Tar archives can also be combined with compression formats such as gzip or xz. Although <\/span><span style=\"font-weight: 400;\">zip<\/span><span style=\"font-weight: 400;\"> is another common archive format, it uses different tools and conventions. The commands <\/span><span style=\"font-weight: 400;\">pack<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">archive<\/span><span style=\"font-weight: 400;\"> are not standard general-purpose replacements for <\/span><span style=\"font-weight: 400;\">tar<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><b>Question: 47. Which command is commonly used to extract files from a ZIP archive?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">extract<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">gzip<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">tar<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">unzip<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 4. <\/span><span style=\"font-weight: 400;\">unzip<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">unzip<\/span><span style=\"font-weight: 400;\"> utility is commonly used to extract files and directories from ZIP archives on Linux systems where the utility is installed. Running <\/span><span style=\"font-weight: 400;\">unzip archive.zip<\/span><span style=\"font-weight: 400;\"> normally extracts the contents into the current directory. Additional options can be used to list archive contents, select particular files, or specify a destination directory. The <\/span><span style=\"font-weight: 400;\">tar<\/span><span style=\"font-weight: 400;\"> command handles tar archives, while <\/span><span style=\"font-weight: 400;\">gzip<\/span><span style=\"font-weight: 400;\"> handles gzip compression rather than the ZIP archive format itself. <\/span><span style=\"font-weight: 400;\">extract<\/span><span style=\"font-weight: 400;\"> is not the standard Linux command for ZIP files. Understanding the distinction between ZIP, tar, and compression utilities is useful when working with software packages, backups, and downloaded files.<\/span><\/p>\n<p><b>Question: 48. Which command is used to control the default permissions applied when new files and directories are created?<\/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;\">umask<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">mask<\/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><span style=\"font-weight: 400;\"> 2. <\/span><span style=\"font-weight: 400;\">umask<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">umask<\/span><span style=\"font-weight: 400;\"> command controls the permission bits that are masked when new files and directories are created. It therefore influences their default permissions rather than changing permissions on existing objects. For example, running <\/span><span style=\"font-weight: 400;\">umask<\/span><span style=\"font-weight: 400;\"> displays the current mask, while assigning a value can change the shell&#8217;s default creation behavior. The <\/span><span style=\"font-weight: 400;\">chmod<\/span><span style=\"font-weight: 400;\"> command is used to modify permissions on existing files and directories. <\/span><span style=\"font-weight: 400;\">mask<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">permset<\/span><span style=\"font-weight: 400;\"> are not standard Linux commands for controlling the shell&#8217;s file-creation permission mask. Understanding <\/span><span style=\"font-weight: 400;\">umask<\/span><span style=\"font-weight: 400;\"> is important because it helps explain why newly created files and directories receive particular default permission settings.<\/span><\/p>\n<p><b>Question: 49. Which permission set allows the owner to read and write a file but not execute it?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">rw-<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">r-x<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">-wx<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">rwx<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 1. <\/span><span style=\"font-weight: 400;\">rw-<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The symbolic permission string <\/span><span style=\"font-weight: 400;\">rw-<\/span><span style=\"font-weight: 400;\"> means that the corresponding permission class has read and write permissions but does not have execute permission. In Linux permissions, <\/span><span style=\"font-weight: 400;\">r<\/span><span style=\"font-weight: 400;\"> represents read, <\/span><span style=\"font-weight: 400;\">w<\/span><span style=\"font-weight: 400;\"> represents write, and <\/span><span style=\"font-weight: 400;\">x<\/span><span style=\"font-weight: 400;\"> represents execute. A hyphen indicates that the corresponding permission is absent. Therefore, <\/span><span style=\"font-weight: 400;\">rw-<\/span><span style=\"font-weight: 400;\"> allows a user to view and modify a regular file but does not grant permission to execute it as a program. By comparison, <\/span><span style=\"font-weight: 400;\">rwx<\/span><span style=\"font-weight: 400;\"> grants all three permissions, <\/span><span style=\"font-weight: 400;\">r-x<\/span><span style=\"font-weight: 400;\"> grants read and execute, and <\/span><span style=\"font-weight: 400;\">-wx<\/span><span style=\"font-weight: 400;\"> grants write and execute without read permission.<\/span><\/p>\n<p><b>Question: 50. Which numeric permission value represents read and write permissions for one permission class?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">5<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">7<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">3<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">6<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 4. <\/span><span style=\"font-weight: 400;\">6<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Linux numeric permissions assign the value 4 to read, 2 to write, and 1 to execute. These values are added together for each permission class. Therefore, read plus write is <\/span><span style=\"font-weight: 400;\">4 + 2<\/span><span style=\"font-weight: 400;\">, producing the numeric value <\/span><span style=\"font-weight: 400;\">6<\/span><span style=\"font-weight: 400;\">. This corresponds to the symbolic permission <\/span><span style=\"font-weight: 400;\">rw-<\/span><span style=\"font-weight: 400;\">. The value <\/span><span style=\"font-weight: 400;\">7<\/span><span style=\"font-weight: 400;\"> represents read, write, and execute; <\/span><span style=\"font-weight: 400;\">5<\/span><span style=\"font-weight: 400;\"> represents read and execute; and <\/span><span style=\"font-weight: 400;\">3<\/span><span style=\"font-weight: 400;\"> represents write and execute. Numeric permissions are commonly used with <\/span><span style=\"font-weight: 400;\">chmod<\/span><span style=\"font-weight: 400;\">, such as <\/span><span style=\"font-weight: 400;\">chmod 640 file<\/span><span style=\"font-weight: 400;\">, where the three digits represent owner, group, and other permissions. Understanding these values is fundamental to Linux permission management.<\/span><\/p>\n<p><b>Question: 51. Which command can display the groups to which the current user belongs?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">showgroups<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">groups<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">groupinfo<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">members<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 2. <\/span><span style=\"font-weight: 400;\">groups<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">groups<\/span><span style=\"font-weight: 400;\"> command displays the group memberships associated with a user. When executed without an argument, it normally shows the groups associated with the current user. A username can also be supplied to examine the groups associated with another account. Group membership is important because Linux filesystem permissions can grant access based on a file&#8217;s group ownership. The <\/span><span style=\"font-weight: 400;\">id<\/span><span style=\"font-weight: 400;\"> command can also provide group information together with UID and GID details, but <\/span><span style=\"font-weight: 400;\">groups<\/span><span style=\"font-weight: 400;\"> provides a concise group-focused result. The alternatives are not standard Linux commands for displaying user group membership.<\/span><\/p>\n<p><b>Question: 52. Which command is commonly used to create a new user account?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">addaccount<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">mkuser<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">newuser<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">useradd<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 4. <\/span><span style=\"font-weight: 400;\">useradd<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">useradd<\/span><span style=\"font-weight: 400;\"> command is a standard Linux utility for creating user accounts. It supports options for specifying account attributes such as the home directory, login shell, supplementary groups, and other settings. For example, <\/span><span style=\"font-weight: 400;\">useradd -m alice<\/span><span style=\"font-weight: 400;\"> can create an account and request creation of a home directory, depending on the Linux distribution and its configuration. Some distributions also provide the higher-level <\/span><span style=\"font-weight: 400;\">adduser<\/span><span style=\"font-weight: 400;\"> command. The alternatives <\/span><span style=\"font-weight: 400;\">addaccount<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">mkuser<\/span><span style=\"font-weight: 400;\">, and <\/span><span style=\"font-weight: 400;\">newuser<\/span><span style=\"font-weight: 400;\"> are not the standard command represented by this question. Creating system accounts generally requires administrative privileges.<\/span><\/p>\n<p><b>Question: 53. Which command is commonly used to change a user&#8217;s password?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">passwd<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">password<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">chpass<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">setpasswd<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 1. <\/span><span style=\"font-weight: 400;\">passwd<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">passwd<\/span><span style=\"font-weight: 400;\"> command is used to change or manage a user&#8217;s password. When an ordinary user runs it, the command typically requests the current password before asking for the new password, subject to the system&#8217;s authentication policies. An administrator with sufficient privileges can also use it to set passwords for other accounts. Modern Linux systems normally store protected password hashes in <\/span><span style=\"font-weight: 400;\">\/etc\/shadow<\/span><span style=\"font-weight: 400;\"> rather than directly in <\/span><span style=\"font-weight: 400;\">\/etc\/passwd<\/span><span style=\"font-weight: 400;\">. The commands <\/span><span style=\"font-weight: 400;\">setpasswd<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">password<\/span><span style=\"font-weight: 400;\">, and <\/span><span style=\"font-weight: 400;\">chpass<\/span><span style=\"font-weight: 400;\"> are not the standard general-purpose Linux command for changing a user&#8217;s password. Therefore, <\/span><span style=\"font-weight: 400;\">passwd<\/span><span style=\"font-weight: 400;\"> is the correct answer.<\/span><\/p>\n<p><b>Question: 54. Which file traditionally contains basic information about local user accounts, including usernames and UIDs?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/etc\/group<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">\/etc\/passwd<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">\/etc\/shadow<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">\/etc\/users<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 2. <\/span><span style=\"font-weight: 400;\">\/etc\/passwd<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/etc\/passwd<\/span><span style=\"font-weight: 400;\"> file traditionally contains basic account information such as usernames, user IDs, primary group IDs, home directories, and login shells. Despite its name, modern Linux systems generally do not store the actual password hashes in this file. Those protected authentication details are normally maintained in <\/span><span style=\"font-weight: 400;\">\/etc\/shadow<\/span><span style=\"font-weight: 400;\">. Group account information is commonly associated with <\/span><span style=\"font-weight: 400;\">\/etc\/group<\/span><span style=\"font-weight: 400;\">. The <\/span><span style=\"font-weight: 400;\">\/etc\/passwd<\/span><span style=\"font-weight: 400;\"> file remains an important part of the traditional local-account configuration and is consulted through the system&#8217;s account-management mechanisms. Therefore, <\/span><span style=\"font-weight: 400;\">\/etc\/passwd<\/span><span style=\"font-weight: 400;\"> is the correct file for basic local user-account information.<\/span><\/p>\n<p><b>Question: 55. Which file normally stores protected password hashes for local Linux accounts?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/etc\/passwd<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">\/var\/users<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">\/etc\/passwords<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">\/etc\/shadow<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 4. <\/span><span style=\"font-weight: 400;\">\/etc\/shadow<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/etc\/shadow<\/span><span style=\"font-weight: 400;\"> file normally contains protected password hashes and password-aging information for local Linux accounts. Because this information is security-sensitive, access to the file is restricted compared with the more broadly readable <\/span><span style=\"font-weight: 400;\">\/etc\/passwd<\/span><span style=\"font-weight: 400;\"> file. Modern Linux systems use the separation between these files so that general account information can be available without exposing protected authentication data. Utilities such as <\/span><span style=\"font-weight: 400;\">passwd<\/span><span style=\"font-weight: 400;\"> manage password information without requiring users to edit <\/span><span style=\"font-weight: 400;\">\/etc\/shadow<\/span><span style=\"font-weight: 400;\"> directly. The paths <\/span><span style=\"font-weight: 400;\">\/var\/users<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">\/etc\/passwords<\/span><span style=\"font-weight: 400;\"> are not the standard locations for local password hashes, while <\/span><span style=\"font-weight: 400;\">\/etc\/passwd<\/span><span style=\"font-weight: 400;\"> normally contains account information rather than the actual hashes.<\/span><\/p>\n<p><b>Question: 56. Which directory contains device files in a typical modern Linux system?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/sysdev<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">\/devices<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">\/dev<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">\/hardware<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 3. <\/span><span style=\"font-weight: 400;\">\/dev<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/dev<\/span><span style=\"font-weight: 400;\"> directory contains device files that provide interfaces to hardware devices and various virtual or pseudo-devices. Examples include device nodes associated with disks, terminals, and other system resources. Modern Linux systems commonly populate <\/span><span style=\"font-weight: 400;\">\/dev<\/span><span style=\"font-weight: 400;\"> dynamically using mechanisms such as <\/span><span style=\"font-weight: 400;\">udev<\/span><span style=\"font-weight: 400;\">, which creates and manages device nodes according to kernel events and system rules. The <\/span><span style=\"font-weight: 400;\">\/sys<\/span><span style=\"font-weight: 400;\"> hierarchy serves a different purpose by exposing structured information about devices and kernel objects. The directories <\/span><span style=\"font-weight: 400;\">\/devices<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">\/hardware<\/span><span style=\"font-weight: 400;\">, and <\/span><span style=\"font-weight: 400;\">\/sysdev<\/span><span style=\"font-weight: 400;\"> are not the standard locations for Linux device files. Therefore, <\/span><span style=\"font-weight: 400;\">\/dev<\/span><span style=\"font-weight: 400;\"> is the correct answer.<\/span><\/p>\n<p><b>Question: 57. Which directory contains a virtual filesystem that provides information about processes and kernel state?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/processes<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">\/proc<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">\/kernel<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">\/status<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 2. <\/span><span style=\"font-weight: 400;\">\/proc<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/proc<\/span><span style=\"font-weight: 400;\"> directory is a virtual filesystem provided by the Linux kernel. It exposes information about running processes and numerous aspects of the current kernel and system state. Running processes commonly have numeric directories under <\/span><span style=\"font-weight: 400;\">\/proc<\/span><span style=\"font-weight: 400;\">, such as <\/span><span style=\"font-weight: 400;\">\/proc\/1234<\/span><span style=\"font-weight: 400;\">, where the number represents the process ID. Files such as <\/span><span style=\"font-weight: 400;\">\/proc\/cpuinfo<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">\/proc\/meminfo<\/span><span style=\"font-weight: 400;\"> provide additional system information. Much of this content is generated dynamically rather than stored as ordinary files on disk. The directories <\/span><span style=\"font-weight: 400;\">\/status<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">\/processes<\/span><span style=\"font-weight: 400;\">, and <\/span><span style=\"font-weight: 400;\">\/kernel<\/span><span style=\"font-weight: 400;\"> are not the standard locations for this virtual filesystem.<\/span><\/p>\n<p><b>Question: 58. Which directory provides a virtual interface for kernel and hardware information and is commonly associated with devices?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">\/sys<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">\/kernelinfo<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">\/hardware<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">\/system<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 1. <\/span><span style=\"font-weight: 400;\">\/sys<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/sys<\/span><span style=\"font-weight: 400;\"> directory is associated with the sysfs virtual filesystem. It exposes structured information about devices, drivers, kernel objects, and other components of the Linux kernel&#8217;s device model. It is particularly useful for examining hardware and driver relationships from user space. <\/span><span style=\"font-weight: 400;\">\/dev<\/span><span style=\"font-weight: 400;\"> should be distinguished from <\/span><span style=\"font-weight: 400;\">\/sys<\/span><span style=\"font-weight: 400;\">: <\/span><span style=\"font-weight: 400;\">\/dev<\/span><span style=\"font-weight: 400;\"> contains device nodes used to access devices, whereas <\/span><span style=\"font-weight: 400;\">\/sys<\/span><span style=\"font-weight: 400;\"> provides information and interfaces associated with kernel objects and devices. <\/span><span style=\"font-weight: 400;\">\/proc<\/span><span style=\"font-weight: 400;\"> also exposes kernel information but has a stronger focus on processes and system state. Therefore, <\/span><span style=\"font-weight: 400;\">\/sys<\/span><span style=\"font-weight: 400;\"> is the correct directory for this description.<\/span><\/p>\n<p><b>Question: 59. Which command provides a continuously updating interactive display of running processes and system resource usage?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">ps<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">tasks<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">top<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">procview<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 3. <\/span><span style=\"font-weight: 400;\">top<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">top<\/span><span style=\"font-weight: 400;\"> command provides an interactive display that continuously updates information about running processes and system resource usage. It commonly shows process IDs, users, CPU utilization, memory consumption, process states, and other information. Unlike <\/span><span style=\"font-weight: 400;\">ps<\/span><span style=\"font-weight: 400;\">, which generally provides a snapshot at the time it is executed, <\/span><span style=\"font-weight: 400;\">top<\/span><span style=\"font-weight: 400;\"> refreshes its display so that administrators can observe changing system activity. It also provides interactive controls for sorting and, where supported, managing processes. The commands <\/span><span style=\"font-weight: 400;\">tasks<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">procview<\/span><span style=\"font-weight: 400;\"> are not standard replacements for <\/span><span style=\"font-weight: 400;\">top<\/span><span style=\"font-weight: 400;\">. Therefore, <\/span><span style=\"font-weight: 400;\">top<\/span><span style=\"font-weight: 400;\"> is the appropriate command for continuous interactive process monitoring.<\/span><\/p>\n<p><b>Question: 60. Which signal is conventionally used to request that a process terminate gracefully?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">SIGSTOP<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">SIGKILL<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">SIGPAUSE<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">SIGTERM<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer:<\/b><span style=\"font-weight: 400;\"> 4. <\/span><span style=\"font-weight: 400;\">SIGTERM<\/span><\/p>\n<p><b>Explanation:<\/b><\/p>\n<p><span style=\"font-weight: 400;\">SIGTERM<\/span><span style=\"font-weight: 400;\"> is conventionally used to request that a process terminate gracefully. Unlike <\/span><span style=\"font-weight: 400;\">SIGKILL<\/span><span style=\"font-weight: 400;\">, a process can catch and handle <\/span><span style=\"font-weight: 400;\">SIGTERM<\/span><span style=\"font-weight: 400;\">, allowing it to perform cleanup operations such as closing files, releasing resources, and saving state before exiting. This makes <\/span><span style=\"font-weight: 400;\">SIGTERM<\/span><span style=\"font-weight: 400;\"> preferable when a normal shutdown is possible. <\/span><span style=\"font-weight: 400;\">SIGKILL<\/span><span style=\"font-weight: 400;\"> forces termination and cannot be caught or handled by the target process, while <\/span><span style=\"font-weight: 400;\">SIGSTOP<\/span><span style=\"font-weight: 400;\"> suspends a process rather than requesting its termination. <\/span><span style=\"font-weight: 400;\">SIGPAUSE<\/span><span style=\"font-weight: 400;\"> is not a standard Linux signal name. Understanding common process signals is important for safe and effective Linux process management.<\/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: 41. Which command is commonly used to display the kernel release and system information? sysinfo 2. uname 3. kernelinfo 4. release Correct Answer: 2. uname Explanation: The uname command displays information about the running system and Linux kernel. Using uname -r displays the [&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\/18611"}],"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=18611"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/18611\/revisions"}],"predecessor-version":[{"id":18612,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/18611\/revisions\/18612"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=18611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=18611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=18611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}