{"id":18616,"date":"2026-09-22T08:53:41","date_gmt":"2026-09-22T08:53:41","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=18616"},"modified":"2026-09-22T08:53:41","modified_gmt":"2026-09-22T08:53:41","slug":"lpi-101-500-practice-test-questions-and-exam-dumps-part-5-q81-100","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/lpi-101-500-practice-test-questions-and-exam-dumps-part-5-q81-100\/","title":{"rendered":"LPI 101-500 Practice Test Questions and Exam Dumps Part 5 Q81-100"},"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: 81. Which command removes a previously defined shell variable from the current shell environment?<\/b><\/p>\n<ol>\n<li><b> <\/b><span style=\"font-weight: 400;\">export<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">unset<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3. <\/b><span style=\"font-weight: 400;\">env<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">set<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>unset<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">unset<\/span><span style=\"font-weight: 400;\"> command removes a shell variable or function from the current shell environment. For example, <\/span><span style=\"font-weight: 400;\">unset MYVAR<\/span><span style=\"font-weight: 400;\"> removes the variable named <\/span><span style=\"font-weight: 400;\">MYVAR<\/span><span style=\"font-weight: 400;\">. After it has been unset, attempting to reference <\/span><span style=\"font-weight: 400;\">$MYVAR<\/span><span style=\"font-weight: 400;\"> normally produces an empty value unless the variable is defined again. This is different from <\/span><span style=\"font-weight: 400;\">export<\/span><span style=\"font-weight: 400;\">, which marks a shell variable for inheritance by child processes. The <\/span><span style=\"font-weight: 400;\">env<\/span><span style=\"font-weight: 400;\"> command displays or modifies environment variables for a command invocation, while <\/span><span style=\"font-weight: 400;\">set<\/span><span style=\"font-weight: 400;\"> is used to display or modify shell options and positional parameters. Understanding variable management is important for shell scripting and Linux command-line administration.<\/span><\/p>\n<p><b>Question: 82. Which command creates a shortcut name for another shell command?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">alias<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2. <\/b><span style=\"font-weight: 400;\">type<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">history<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">source<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>alias<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">alias<\/span><span style=\"font-weight: 400;\"> command creates a convenient alternative name for a command or command sequence. For example, <\/span><span style=\"font-weight: 400;\">alias ll=&#8217;ls -l&#8217;<\/span><span style=\"font-weight: 400;\"> allows the user to type <\/span><span style=\"font-weight: 400;\">ll<\/span><span style=\"font-weight: 400;\"> instead of the longer <\/span><span style=\"font-weight: 400;\">ls -l<\/span><span style=\"font-weight: 400;\"> command. Aliases are commonly used in interactive shells to save typing and create preferred command shortcuts. They are normally shell-specific and may disappear when the shell session ends unless placed in an appropriate shell startup configuration file. The <\/span><span style=\"font-weight: 400;\">type<\/span><span style=\"font-weight: 400;\"> command identifies how a command name is interpreted, <\/span><span style=\"font-weight: 400;\">history<\/span><span style=\"font-weight: 400;\"> displays previously executed commands, and <\/span><span style=\"font-weight: 400;\">source<\/span><span style=\"font-weight: 400;\"> executes commands from a file in the current shell.<\/span><\/p>\n<p><b>Question: 83. Which command removes an existing shell alias?<\/b><\/p>\n<ol>\n<li><b> <\/b><span style=\"font-weight: 400;\">remove<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">unalias<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3. <\/b><span style=\"font-weight: 400;\">unsetalias<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4. <\/b><span style=\"font-weight: 400;\">delete<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>unalias<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">unalias<\/span><span style=\"font-weight: 400;\"> command removes an alias from the current shell. For example, <\/span><span style=\"font-weight: 400;\">unalias ll<\/span><span style=\"font-weight: 400;\"> removes an alias named <\/span><span style=\"font-weight: 400;\">ll<\/span><span style=\"font-weight: 400;\">. This is useful when a shortcut is no longer wanted or when troubleshooting unexpected command behavior caused by an alias. Using <\/span><span style=\"font-weight: 400;\">unalias<\/span><span style=\"font-weight: 400;\"> normally affects the current shell session; if the alias is defined in a startup file, it may be recreated when a new shell starts. The <\/span><span style=\"font-weight: 400;\">unset<\/span><span style=\"font-weight: 400;\"> command is used for shell variables and functions rather than aliases. Commands such as <\/span><span style=\"font-weight: 400;\">remove<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">unsetalias<\/span><span style=\"font-weight: 400;\">, and <\/span><span style=\"font-weight: 400;\">delete<\/span><span style=\"font-weight: 400;\"> are not standard Bash commands for removing aliases.<\/span><\/p>\n<p><b>Question: 84. Which shell command displays previously executed commands?<\/b><\/p>\n<ol>\n<li><b> <\/b><span style=\"font-weight: 400;\">recall<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">commands<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3. <\/b><span style=\"font-weight: 400;\">history<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">previous<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>history<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">history<\/span><span style=\"font-weight: 400;\"> command displays commands that have previously been entered into the shell&#8217;s command history. In Bash, the history mechanism allows users to review earlier commands and reuse them without typing everything again. For example, <\/span><span style=\"font-weight: 400;\">history<\/span><span style=\"font-weight: 400;\"> may display numbered entries, and a command can often be recalled using shell history expansion or keyboard shortcuts. The history mechanism is especially useful when repeating administrative commands or reviewing recent command-line activity. Commands such as <\/span><span style=\"font-weight: 400;\">recall<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">commands<\/span><span style=\"font-weight: 400;\">, and <\/span><span style=\"font-weight: 400;\">previous<\/span><span style=\"font-weight: 400;\"> are not standard Bash commands for displaying the shell history.<\/span><\/p>\n<p><b>Question: 85. Which command can be used to determine how the shell interprets a command name?<\/b><\/p>\n<ol>\n<li><b> <\/b><span style=\"font-weight: 400;\">where<\/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;\">. <\/span><span style=\"font-weight: 400;\">whichfile<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4. <\/b><span style=\"font-weight: 400;\">type<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. <\/b><b>type<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">type<\/span><span style=\"font-weight: 400;\"> command tells the shell how a command name would be interpreted. It can identify whether a name refers to an alias, shell builtin, function, keyword, or executable file. For example, <\/span><span style=\"font-weight: 400;\">type cd<\/span><span style=\"font-weight: 400;\"> normally identifies <\/span><span style=\"font-weight: 400;\">cd<\/span><span style=\"font-weight: 400;\"> as a shell builtin, while <\/span><span style=\"font-weight: 400;\">type ls<\/span><span style=\"font-weight: 400;\"> can show the executable path or indicate that <\/span><span style=\"font-weight: 400;\">ls<\/span><span style=\"font-weight: 400;\"> is an alias. This makes <\/span><span style=\"font-weight: 400;\">type<\/span><span style=\"font-weight: 400;\"> particularly useful when troubleshooting situations where a command behaves unexpectedly. Although <\/span><span style=\"font-weight: 400;\">which<\/span><span style=\"font-weight: 400;\"> can locate executable files in the <\/span><span style=\"font-weight: 400;\">PATH<\/span><span style=\"font-weight: 400;\">, it does not provide the same comprehensive information about shell command resolution as <\/span><span style=\"font-weight: 400;\">type<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><b>Question: 86. Which command displays the shell&#8217;s list of recently executed commands?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">history<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2. <\/b><span style=\"font-weight: 400;\">lastcmd<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3. <\/b><span style=\"font-weight: 400;\">recent<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4. <\/b><span style=\"font-weight: 400;\">logcmd<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>history<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">history<\/span><span style=\"font-weight: 400;\"> command is the standard shell command for displaying previously entered commands. In an interactive Bash session, command history allows users to quickly review and reuse commands. It can be particularly useful when working with long command lines, troubleshooting, or repeating administrative tasks. The shell typically assigns numbers to history entries, which can then be referenced through history expansion or keyboard navigation. Commands named <\/span><span style=\"font-weight: 400;\">lastcmd<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">recent<\/span><span style=\"font-weight: 400;\">, and <\/span><span style=\"font-weight: 400;\">logcmd<\/span><span style=\"font-weight: 400;\"> are not standard Bash commands for this purpose. The exact amount of stored history depends on shell configuration and variables such as <\/span><span style=\"font-weight: 400;\">HISTSIZE<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">HISTFILESIZE<\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<p><b>Question: 87. What does the <\/b><b>jobs<\/b><b> command display in a shell?<\/b><\/p>\n<ol>\n<li><b><\/b><span style=\"font-weight: 400;\"> All users logged into the system<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b><span style=\"font-weight: 400;\"> Files currently being modified<\/span><b><br \/>\n<\/b><b>3. <\/b><span style=\"font-weight: 400;\">Jobs controlled by the current shell<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Installed software packages<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. Jobs controlled by the current shell<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">jobs<\/span><span style=\"font-weight: 400;\"> command displays information about jobs that are being managed by the current interactive shell. These jobs are commonly created by placing commands in the background or suspending foreground processes. The output may show job numbers and states such as running or stopped. This job-control information can then be used with commands such as <\/span><span style=\"font-weight: 400;\">fg<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">bg<\/span><span style=\"font-weight: 400;\">. <\/span><span style=\"font-weight: 400;\">jobs<\/span><span style=\"font-weight: 400;\"> does not list every process on the system, nor does it display logged-in users or installed packages. Understanding shell job control is important when managing multiple interactive tasks from a single terminal session.<\/span><\/p>\n<p><b>Question: 88. Which command brings a stopped or background job into the foreground?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">bg<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2.<\/b> <span style=\"font-weight: 400;\">fg<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3. <\/b><span style=\"font-weight: 400;\">front<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">resume<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>fg<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">fg<\/span><span style=\"font-weight: 400;\"> command brings a job into the foreground of the current shell. For example, <\/span><span style=\"font-weight: 400;\">fg %1<\/span><span style=\"font-weight: 400;\"> can bring job number 1 to the foreground. Once in the foreground, the terminal normally becomes associated with that job, allowing it to receive interactive input. This is different from <\/span><span style=\"font-weight: 400;\">bg<\/span><span style=\"font-weight: 400;\">, which resumes a stopped job in the background. Shell job control uses job identifiers such as <\/span><span style=\"font-weight: 400;\">%1<\/span><span style=\"font-weight: 400;\">, while process IDs identify operating-system processes. The <\/span><span style=\"font-weight: 400;\">fg<\/span><span style=\"font-weight: 400;\"> command is therefore useful when a command was previously suspended or started in the background and now needs to continue interactively.<\/span><\/p>\n<p><b>Question: 89. Which command resumes a stopped shell job in the background?<\/b><\/p>\n<ol>\n<li><b> <\/b><span style=\"font-weight: 400;\">resume<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2. <\/b><span style=\"font-weight: 400;\">start<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3. <\/b><span style=\"font-weight: 400;\">fg<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4. <\/b><span style=\"font-weight: 400;\">bg<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. <\/b><b>bg<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">bg<\/span><span style=\"font-weight: 400;\"> command resumes a stopped job while allowing it to continue running in the background. A common sequence is to press <\/span><span style=\"font-weight: 400;\">Ctrl+Z<\/span><span style=\"font-weight: 400;\"> to suspend a foreground job and then use <\/span><span style=\"font-weight: 400;\">bg<\/span><span style=\"font-weight: 400;\"> to continue that job without occupying the terminal interactively. A job number can be specified, such as <\/span><span style=\"font-weight: 400;\">bg %1<\/span><span style=\"font-weight: 400;\">. The <\/span><span style=\"font-weight: 400;\">fg<\/span><span style=\"font-weight: 400;\"> command performs the opposite job-control operation by bringing a job into the foreground. This distinction is important when managing multiple commands from one shell, especially when some tasks need to continue running while the user works on other commands.<\/span><\/p>\n<p><b>Question: 90. Which shell operator starts a command as a background job?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">&amp;<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2. <\/b><span style=\"font-weight: 400;\">|<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3. <\/b><span style=\"font-weight: 400;\">&gt;<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">&amp;&amp;<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>&amp;<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The ampersand operator, <\/span><span style=\"font-weight: 400;\">&amp;<\/span><span style=\"font-weight: 400;\">, causes a shell command to be started as a background job. For example, <\/span><span style=\"font-weight: 400;\">long_command &amp;<\/span><span style=\"font-weight: 400;\"> allows the shell to return a prompt while the command continues running. The shell normally assigns a job number and displays information about the associated process. This is different from <\/span><span style=\"font-weight: 400;\">&amp;&amp;<\/span><span style=\"font-weight: 400;\">, which conditionally runs a following command when the previous command succeeds. The pipe operator <\/span><span style=\"font-weight: 400;\">|<\/span><span style=\"font-weight: 400;\"> connects the standard output of one command to the standard input of another, while <\/span><span style=\"font-weight: 400;\">&gt;<\/span><span style=\"font-weight: 400;\"> redirects output to a file. Understanding these operators is fundamental to effective shell usage.<\/span><\/p>\n<p><b>Question: 91. Which command is commonly used to run a command so it can continue after the terminal session is disconnected?<\/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;\">nohup<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3. <\/b><span style=\"font-weight: 400;\">persist<\/span><b><br \/>\n<\/b><b>4.<\/b> <span style=\"font-weight: 400;\">keep<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>nohup<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">nohup<\/span><span style=\"font-weight: 400;\"> command runs another command while making it resistant to the hangup signal that is normally associated with closing a terminal session. It is commonly used for long-running commands that should continue after the user logs out. For example, <\/span><span style=\"font-weight: 400;\">nohup command &amp;<\/span><span style=\"font-weight: 400;\"> can start a command in the background while reducing its dependence on the terminal session. Output is commonly redirected to a file such as <\/span><span style=\"font-weight: 400;\">nohup.out<\/span><span style=\"font-weight: 400;\"> when appropriate redirection is not explicitly provided. <\/span><span style=\"font-weight: 400;\">nohup<\/span><span style=\"font-weight: 400;\"> does not make a process immortal or guarantee protection from every possible termination method; it specifically addresses hangup-related behavior.<\/span><\/p>\n<p><b>Question: 92. What does PPID represent in Linux process information?<\/b><\/p>\n<ol>\n<li><b>1<\/b><span style=\"font-weight: 400;\">. Primary Process Identifier<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b> <\/b><span style=\"font-weight: 400;\">Previous Program Input Data<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3. <\/b><span style=\"font-weight: 400;\">Parent Process ID<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b><span style=\"font-weight: 400;\"> Protected Process Index<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. Parent Process ID<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">PPID stands for Parent Process ID. Every process, with special system-level exceptions, is associated with a parent process that created it. The PPID identifies that parent process. This relationship is useful when examining process hierarchies and understanding how commands or services were started. The PID identifies the process itself, while the PPID identifies its parent. Tools such as <\/span><span style=\"font-weight: 400;\">ps<\/span><span style=\"font-weight: 400;\"> can display both identifiers, allowing administrators to investigate process relationships. PPID should not be confused with terms such as Primary Process Identifier or Protected Process Index, which are not the standard meanings of PPID in Linux process management.<\/span><\/p>\n<p><b>Question: 93. Which command displays the signals that can be sent to processes?<\/b><\/p>\n<ol>\n<li><b> <\/b><span style=\"font-weight: 400;\">kill -l<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2. <\/b><span style=\"font-weight: 400;\">signals<\/span><b><br \/>\n<\/b><b>3.<\/b> <span style=\"font-weight: 400;\">signal-list<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4. <\/b><span style=\"font-weight: 400;\">kill &#8211;show<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>kill -l<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">kill -l<\/span><span style=\"font-weight: 400;\"> command lists the signal names and, depending on the implementation, their corresponding signal numbers. Signals provide a mechanism for communicating with processes. For example, administrators can use signals to request that a process terminate, stop, continue, or perform other signal-defined actions. The <\/span><span style=\"font-weight: 400;\">kill<\/span><span style=\"font-weight: 400;\"> command is therefore not limited to forcibly terminating processes; its broader purpose is sending signals. The <\/span><span style=\"font-weight: 400;\">-l<\/span><span style=\"font-weight: 400;\"> option specifically requests a list of available signals. Commands such as <\/span><span style=\"font-weight: 400;\">signals<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">signal-list<\/span><span style=\"font-weight: 400;\">, and <\/span><span style=\"font-weight: 400;\">kill &#8211;show<\/span><span style=\"font-weight: 400;\"> are not the standard portable syntax for obtaining this signal list.<\/span><\/p>\n<p><b>Question: 94. Which command changes the scheduling priority of an already running process?<\/b><\/p>\n<ol>\n<li><b> <\/b><span style=\"font-weight: 400;\">priority<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2. <\/b><span style=\"font-weight: 400;\">nice<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3. <\/b><span style=\"font-weight: 400;\">renice<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">reprioritize<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>renice<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">renice<\/span><span style=\"font-weight: 400;\"> command changes the nice value, and therefore the scheduling priority, of processes that are already running. This is different from <\/span><span style=\"font-weight: 400;\">nice<\/span><span style=\"font-weight: 400;\">, which is commonly used when starting a new command with a specified nice value. Adjusting a process&#8217;s nice value can influence how much CPU scheduling preference it receives relative to other processes. Permission requirements apply when changing process priority, particularly when attempting to increase scheduling priority. <\/span><span style=\"font-weight: 400;\">renice<\/span><span style=\"font-weight: 400;\"> is therefore useful for administrators managing CPU-intensive workloads. Commands named <\/span><span style=\"font-weight: 400;\">priority<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">reprioritize<\/span><span style=\"font-weight: 400;\"> are not standard Linux commands for changing a running process&#8217;s nice value.<\/span><\/p>\n<p><b>Question: 95. Which wildcard matches any sequence of zero or more characters in a shell pathname pattern?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">?<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2. <\/b><span style=\"font-weight: 400;\">[]<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3. <\/b><span style=\"font-weight: 400;\">*<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4. <\/b><span style=\"font-weight: 400;\">#<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3. <\/b><b>*<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">In standard shell pathname expansion, the asterisk <\/span><span style=\"font-weight: 400;\">*<\/span><span style=\"font-weight: 400;\"> matches any sequence of characters, including an empty sequence, subject to the shell&#8217;s pathname expansion rules. For example, <\/span><span style=\"font-weight: 400;\">*.txt<\/span><span style=\"font-weight: 400;\"> can match filenames ending in <\/span><span style=\"font-weight: 400;\">.txt<\/span><span style=\"font-weight: 400;\">. The question mark <\/span><span style=\"font-weight: 400;\">?<\/span><span style=\"font-weight: 400;\"> normally matches exactly one character, while bracket expressions such as <\/span><span style=\"font-weight: 400;\">[abc]<\/span><span style=\"font-weight: 400;\"> match one character from the specified set or range. These patterns are expanded by the shell before the command receives its arguments. Understanding wildcard expansion is essential because the shell performs this expansion rather than the target command itself in the usual case.<\/span><\/p>\n<p><b>Question: 96. Which wildcard normally matches exactly one character in shell pathname expansion?<\/b><\/p>\n<ol>\n<li><b> <\/b><span style=\"font-weight: 400;\">?<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2. <\/b><span style=\"font-weight: 400;\">*<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">[]<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4. <\/b><span style=\"font-weight: 400;\">**<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>?<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The question mark <\/span><span style=\"font-weight: 400;\">?<\/span><span style=\"font-weight: 400;\"> is a shell pathname expansion pattern that normally matches exactly one character. For example, <\/span><span style=\"font-weight: 400;\">file?.txt<\/span><span style=\"font-weight: 400;\"> can match <\/span><span style=\"font-weight: 400;\">file1.txt<\/span><span style=\"font-weight: 400;\"> or <\/span><span style=\"font-weight: 400;\">fileA.txt<\/span><span style=\"font-weight: 400;\">, but it would not normally match <\/span><span style=\"font-weight: 400;\">file10.txt<\/span><span style=\"font-weight: 400;\"> because that contains two characters in the position represented by <\/span><span style=\"font-weight: 400;\">?<\/span><span style=\"font-weight: 400;\">. The asterisk <\/span><span style=\"font-weight: 400;\">*<\/span><span style=\"font-weight: 400;\"> can match zero or more characters, while bracket expressions such as <\/span><span style=\"font-weight: 400;\">[abc]<\/span><span style=\"font-weight: 400;\"> match one character from a specified set. Shell pattern matching should be distinguished from regular expressions because the syntax and behavior are not identical, even though both are commonly used for text and filename selection.<\/span><\/p>\n<p><b>Question: 97. Which directory traditionally contains the Linux kernel and boot-related files?<\/b><\/p>\n<ol>\n<li><b> <\/b><span style=\"font-weight: 400;\">\/opt<\/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;\">\/media<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>\/boot<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/boot<\/span><span style=\"font-weight: 400;\"> directory contains files needed during the system&#8217;s boot process. It commonly includes the Linux kernel, initial RAM filesystem images, and bootloader-related files, although exact contents vary by distribution and configuration. The <\/span><span style=\"font-weight: 400;\">\/opt<\/span><span style=\"font-weight: 400;\"> directory is traditionally used for optional add-on application software, <\/span><span style=\"font-weight: 400;\">\/srv<\/span><span style=\"font-weight: 400;\"> is intended for data served by system services, and <\/span><span style=\"font-weight: 400;\">\/media<\/span><span style=\"font-weight: 400;\"> is commonly used as a mount point for removable media. Understanding standard filesystem hierarchy locations helps administrators locate important system components and distinguish boot files from application, service, and removable-device data.<\/span><\/p>\n<p><b>Question: 98. Which command is used to mount a filesystem in Linux?<\/b><\/p>\n<ol>\n<li><b> <\/b><span style=\"font-weight: 400;\">attach<\/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;\">connectfs<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4. <\/b><span style=\"font-weight: 400;\">linkfs<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2. <\/b><b>mount<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">mount<\/span><span style=\"font-weight: 400;\"> command attaches a filesystem to the Linux directory tree at a specified mount point. For example, a filesystem can be mounted so that its contents become accessible through a directory such as <\/span><span style=\"font-weight: 400;\">\/mnt\/data<\/span><span style=\"font-weight: 400;\">. Linux uses a unified directory hierarchy, so filesystems are integrated into that hierarchy rather than being accessed through separate drive-letter conventions. The <\/span><span style=\"font-weight: 400;\">umount<\/span><span style=\"font-weight: 400;\"> command performs the corresponding unmount operation. Proper permissions and filesystem details are required for successful mounting. Commands such as <\/span><span style=\"font-weight: 400;\">attach<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">connectfs<\/span><span style=\"font-weight: 400;\">, and <\/span><span style=\"font-weight: 400;\">linkfs<\/span><span style=\"font-weight: 400;\"> are not standard Linux commands for mounting filesystems.<\/span><\/p>\n<p><b>Question: 99. Which command displays block devices and their relationships in a tree-like format?<\/b><\/p>\n<ol>\n<li><b> <\/b><span style=\"font-weight: 400;\">lsblk<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2. <\/b><span style=\"font-weight: 400;\">blkshow<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3. <\/b><span style=\"font-weight: 400;\">devices<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">disklist<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1. <\/b><b>lsblk<\/b><\/p>\n<p><b>Explanation:<\/b><b><br \/>\n<\/b><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">lsblk<\/span><span style=\"font-weight: 400;\"> command lists information about block devices and commonly presents their relationships in a tree-like structure. It can show disks, partitions, and related device information, making it useful when examining storage layouts. For example, it can help an administrator determine which partitions belong to which physical disks. This is different from commands focused on filesystem usage or free space. <\/span><span style=\"font-weight: 400;\">df<\/span><span style=\"font-weight: 400;\"> reports filesystem space usage, while <\/span><span style=\"font-weight: 400;\">du<\/span><span style=\"font-weight: 400;\"> estimates space used by files and directories. <\/span><span style=\"font-weight: 400;\">lsblk<\/span><span style=\"font-weight: 400;\"> is therefore particularly useful during storage administration, partition identification, and troubleshooting device layouts.<\/span><\/p>\n<p><b>Question: 100. Which command displays the amount of available and used memory in a human-readable form?<\/b><\/p>\n<ol>\n<li><b><\/b> <span style=\"font-weight: 400;\">memory<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>2. <\/b><span style=\"font-weight: 400;\">ram<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>3.<\/b> <span style=\"font-weight: 400;\">meminfo<\/span><span style=\"font-weight: 400;\"><br \/>\n<\/span><b>4.<\/b> <span style=\"font-weight: 400;\">free -h<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4. <\/b><b>free -h<\/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 reports information about system memory, including used and available memory. The <\/span><span style=\"font-weight: 400;\">-h<\/span><span style=\"font-weight: 400;\"> option requests human-readable units such as MiB or GiB, making the output easier to interpret. This command is useful when checking memory consumption and determining whether the system has sufficient available RAM. The <\/span><span style=\"font-weight: 400;\">\/proc\/meminfo<\/span><span style=\"font-weight: 400;\"> file provides much more detailed memory information, but <\/span><span style=\"font-weight: 400;\">free -h<\/span><span style=\"font-weight: 400;\"> offers a convenient summary. Commands such as <\/span><span style=\"font-weight: 400;\">memory<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">ram<\/span><span style=\"font-weight: 400;\"> are not standard Linux commands for this purpose. Understanding memory reporting is useful for basic Linux performance monitoring and troubleshooting.<\/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: 81. Which command removes a previously defined shell variable from the current shell environment? export 2. unset 3. env 4. set Correct Answer: 2. unset Explanation: The unset command removes a shell variable or function from the current shell environment. For example, unset [&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\/18616"}],"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=18616"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/18616\/revisions"}],"predecessor-version":[{"id":18617,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/18616\/revisions\/18617"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=18616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=18616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=18616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}