{"id":12375,"date":"2026-09-15T08:38:05","date_gmt":"2026-09-15T08:38:05","guid":{"rendered":"https:\/\/www.examlabs.com\/certification\/?p=12375"},"modified":"2026-09-15T08:38:05","modified_gmt":"2026-09-15T08:38:05","slug":"lpi-010-160-practice-test-questions-and-exam-dumps-part-7-q121-140","status":"publish","type":"post","link":"https:\/\/www.examlabs.com\/certification\/lpi-010-160-practice-test-questions-and-exam-dumps-part-7-q121-140\/","title":{"rendered":"LPI 010-160 Practice Test Questions and Exam Dumps Part 7 Q121-140"},"content":{"rendered":"<h2><b>View Full <a href=\"https:\/\/www.examlabs.com\/010-160-exam-dumps\">LPI 010-160 Exam Dumps<\/a> and Practice Test Dumps.<\/b><\/h2>\n<p>&nbsp;<\/p>\n<h3><b>Question 121<\/b><\/h3>\n<p><b>Which command is used to remove an installed software package while retaining its configuration files on Debian-based systems?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">apt-get remove<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">apt-get purge<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">dpkg -P<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">apt-get clean<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The apt-get remove command is utilized on Debian-based distributions to uninstall specified software packages while intentionally retaining their local configuration files on the filesystem. This approach ensures that if the software is reinstalled later, custom settings are preserved. Conversely, apt-get purge completely deletes both the package binaries and its associated configuration files, ensuring a thorough cleanup. Other commands like apt-get clean clear cached package archives from local storage repositories. Understanding the distinction between remove and purge operations is essential for system administrators managing software lifecycles, application upgrades, and system configurations efficiently across production Debian server environments.<\/span><\/p>\n<h3><b>Question 122<\/b><\/h3>\n<p><b>Which directory in the Linux filesystem hierarchy typically houses variable data files such as system logs, mail spools, and databases?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\/etc<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\/bin<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\/var<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\/home<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/var<\/span><span style=\"font-weight: 400;\"> directory stands for variable and is the designated location in the Linux Filesystem Hierarchy Standard where system components store data that continuously changes during normal operation. This includes critical system log files, print queues, mail spools, web server data, and active database tables. In contrast, <\/span><span style=\"font-weight: 400;\">\/etc<\/span><span style=\"font-weight: 400;\"> houses static system-wide configuration files, <\/span><span style=\"font-weight: 400;\">\/bin<\/span><span style=\"font-weight: 400;\"> stores essential user binaries required for booting, and <\/span><span style=\"font-weight: 400;\">\/home<\/span><span style=\"font-weight: 400;\"> contains personal user directories. Proper monitoring and disk space allocation for <\/span><span style=\"font-weight: 400;\">\/var<\/span><span style=\"font-weight: 400;\"> are vital administrative responsibilities to prevent log overflow conditions from crashing production servers and critical business applications.<\/span><\/p>\n<h3><b>Question 123<\/b><\/h3>\n<p><b>What numeric octal permission mask corresponds to read and write for the owner, and read-only access for group and others?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">755<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">644<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">700<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">777<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The numeric octal permission mask 644 grants the file owner read and write permissions, while restricting both the owning group and all other external users to read-only access without execution capabilities. In octal notation, the owner digit evaluates to 6 (4+2), while group and others evaluate to 4. This permission structure is the universal standard for regular data files, text documents, and configuration files, allowing general viewing while preventing unauthorized modifications. Conversely, 755 is standard for executable scripts, 700 restricts access exclusively to the owner, and 777 grants universal unrestricted access to everyone.<\/span><\/p>\n<h3><b>Question 124<\/b><\/h3>\n<p><b>Which shell redirection operator is used to overwrite the contents of a file with standard output from a command?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">&lt;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">2&gt;<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><\/li>\n<\/ol>\n<p><b>Correct Answer: 4<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The greater-than sign functions as the standard output redirection operator in Linux shells, capturing the output generated by a command and overwriting any existing content within the specified destination file. If the target file does not already exist, the shell automatically creates it. In contrast, the double greater-than operator appends output to the end of a file without destroying prior contents, the less-than symbol handles standard input redirection, and 2&gt; directs error streams separately. Mastering output redirection is essential for logging script results, capturing diagnostic output, and automating administrative reporting tasks across Linux systems.<\/span><\/p>\n<h3><b>Question 125<\/b><\/h3>\n<p><b>Which command-line option is required with <\/b><b>tar<\/b><b> to compress an archive using bzip2?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">-z<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">-j<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">-v<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">-f<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">-j<\/span><span style=\"font-weight: 400;\"> option instructs the tar utility to filter the archive stream through bzip2 compression, enabling the creation of compressed archives with the <\/span><span style=\"font-weight: 400;\">.tar.bz2<\/span><span style=\"font-weight: 400;\"> or <\/span><span style=\"font-weight: 400;\">.tbz<\/span><span style=\"font-weight: 400;\"> extension in a single step. Bzip2 typically provides higher compression ratios than traditional gzip, though it requires slightly more CPU processing time during archiving. While the <\/span><span style=\"font-weight: 400;\">-z<\/span><span style=\"font-weight: 400;\"> flag invokes gzip compression, <\/span><span style=\"font-weight: 400;\">-v<\/span><span style=\"font-weight: 400;\"> enables verbose output showing processed files, and <\/span><span style=\"font-weight: 400;\">-f<\/span><span style=\"font-weight: 400;\"> specifies the target archive filename. Mastering various compression flags ensures that system administrators can perform reliable, space-optimized backups and distribute software packages effectively across diverse enterprise Linux server environments.<\/span><\/p>\n<h3><b>Question 126<\/b><\/h3>\n<p><b>Which configuration file defines the static hostname mapping for local loopback and IP addresses in Linux?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\/etc\/resolv.conf<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\/etc\/fstab<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\/etc\/hosts<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\/etc\/passwd<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/etc\/hosts<\/span><span style=\"font-weight: 400;\"> file is a static text file utilized by the operating system to map hostnames to corresponding IP addresses before querying external Domain Name System servers. It always contains local loopback entries pointing localhost to 127.0.0.1. Administrators frequently edit this file to configure local hostname resolution for testing environments or isolated networks. In contrast, <\/span><span style=\"font-weight: 400;\">\/etc\/resolv.conf<\/span><span style=\"font-weight: 400;\"> specifies external DNS server IP addresses, <\/span><span style=\"font-weight: 400;\">\/etc\/fstab<\/span><span style=\"font-weight: 400;\"> handles persistent filesystem mount points, and <\/span><span style=\"font-weight: 400;\">\/etc\/passwd<\/span><span style=\"font-weight: 400;\"> stores user account metadata. Understanding static hostname configuration via <\/span><span style=\"font-weight: 400;\">\/etc\/hosts<\/span><span style=\"font-weight: 400;\"> is a fundamental networking diagnostic skill for Linux systems administrators.<\/span><\/p>\n<h3><b>Question 127<\/b><\/h3>\n<p><b>Which system utility is used to create a new security group on a Linux operating system?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">useradd<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">usermod<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">groupadd<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">groupdel<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The groupadd command is the standard system utility utilized by administrators to create new security groups on Linux systems, automatically updating system configuration databases such as <\/span><span style=\"font-weight: 400;\">\/etc\/group<\/span><span style=\"font-weight: 400;\"> and <\/span><span style=\"font-weight: 400;\">\/etc\/shadow<\/span><span style=\"font-weight: 400;\">. Creating dedicated groups allows administrators to implement effective role-based access control and manage file permissions collaboratively across teams. Conversely, useradd provisions new user accounts, usermod modifies existing account parameters, and groupdel removes obsolete groups from the system. Proper group management via groupadd is a vital administrative duty for maintaining secure multi-user environments and enforcing strict access boundaries across enterprise servers.<\/span><\/p>\n<h3><b>Question 128<\/b><\/h3>\n<p><b>Which signal number represents the standard graceful termination request sent by the <\/b><b>kill<\/b><b> command?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">9<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">15<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">1<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">19<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Signal number 15 corresponds to SIGTERM, which is the default termination signal sent by the kill command to request a graceful shutdown of a running process. When an application receives SIGTERM, it is given the opportunity to save unsaved data, release allocated system resources, and exit cleanly. In contrast, signal 9 represents SIGKILL, which forces an immediate, uncatchable termination handled directly by the kernel without cleanup routines. Knowing how to utilize signal numbers appropriately ensures that system administrators can stop misbehaving background daemons effectively while preventing unexpected data loss or file corruption across storage volumes.<\/span><\/p>\n<h3><b>Question 129<\/b><\/h3>\n<p><b>Which command-line utility sorts lines of text files in alphabetical or numerical order?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">uniq<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">grep<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">sort<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">wc<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The sort command is a powerful text processing utility that rearranges the lines of text files or input streams based on specific sorting criteria, including alphabetical, reverse, or numerical ordering. It is frequently combined with other filters in shell pipelines to organize data reports and analyze log files. While uniq filters out adjacent duplicate lines from sorted input, grep searches for specific string patterns, and wc counts lines, words, and characters. Mastering the sort command enables system administrators to process text data efficiently, extract meaningful metrics, and generate clean administrative reports across Linux command-line environments.<\/span><\/p>\n<h3><b>Question 130<\/b><\/h3>\n<p><b>Which utility displays detailed information about connected USB peripheral devices on a Linux system?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">lspci<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">lsblk<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">lscpu<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">lsusb<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The lsusb command queries the kernel device tree and displays detailed information about all USB buses and connected peripheral devices\u2014such as keyboards, mice, flash drives, and webcams\u2014currently attached to the system. This utility is invaluable for hardware inventory audits, verifying driver recognition, and troubleshooting peripheral connectivity issues. Similarly, lspci lists PCI hardware components, lsblk displays block storage partitions, and lscpu reports CPU architecture specifications. Mastering these hardware diagnostic tools enables administrators to verify system configurations and diagnose hardware bottlenecks effectively across enterprise server environments, cloud platforms, and local desktop workstations.<\/span><\/p>\n<h3><b>Question 131<\/b><\/h3>\n<p><b>How do you reference the value of a defined shell variable named <\/b><b>CONFIG<\/b><b> in bash?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">$CONFIG<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">#CONFIG<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">&amp;CONFIG<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">*CONFIG<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 1<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">In bash shell scripting and interactive terminal sessions, prefixing a variable name with a dollar sign evaluates and expands that variable, returning its stored value to the command line or script parser. For instance, echoing <\/span><span style=\"font-weight: 400;\">$CONFIG<\/span><span style=\"font-weight: 400;\"> prints the assigned parameter to standard output. In contrast, the hash symbol indicates comments, the ampersand runs jobs in the background, and the asterisk acts as a wildcard filename matcher. Understanding proper variable syntax and expansion rules is essential for writing robust, error-free automation scripts and managing runtime parameters across complex Linux enterprise environments and cloud deployment pipelines.<\/span><\/p>\n<h3><b>Question 132<\/b><\/h3>\n<p><b>Which command detaches a mounted filesystem from the directory tree in Linux?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">mount<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">umount<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">fsck<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">mkfs<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The umount command is utilized to safely detach a currently mounted filesystem from its mount point in the directory tree, flushing any unwritten cache data to storage blocks. This step is mandatory before physically disconnecting removable media or resizing underlying storage partitions to prevent data corruption. Conversely, the mount command attaches filesystems, fsck checks and repairs filesystem integrity, and mkfs formats new storage volumes. Mastering mount and umount operations ensures reliable storage administration, safe device removal, and robust data integrity management across all production Linux server and cloud storage infrastructures.<\/span><\/p>\n<h3><b>Question 133<\/b><\/h3>\n<p><b>What is the default systemd startup target equivalent to traditional multi-user mode with networking on Linux?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">rescue.target<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">poweroff.target<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">multi-user.target<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">graphical.target<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The multi-user.target in systemd represents the standard runlevel configuration for non-graphical server environments, providing multi-user login capabilities and full network connectivity. It serves as the default operational state for headless enterprise Linux servers. In contrast, graphical.target includes desktop window managers, rescue.target provides a single-user maintenance shell for administrative recovery, and poweroff.target shuts down the system safely. Understanding systemd targets is essential for configuring server boot behaviors, troubleshooting startup failures, and managing system administration tasks effectively across diverse production and cloud server infrastructure deployments.<\/span><\/p>\n<h3><b>Question 134<\/b><\/h3>\n<p><b>Which command-line option is used with <\/b><b>tar<\/b><b> to list the contents of an archive without extracting them?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">-c<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">-t<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">-x<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">-r<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/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 instructs the tar utility to list the internal file paths and metadata of a specified archive file without extracting any data to the local filesystem. This is extremely useful for auditing archive contents before performing a full restoration. Conversely, <\/span><span style=\"font-weight: 400;\">-c<\/span><span style=\"font-weight: 400;\"> creates new archives, <\/span><span style=\"font-weight: 400;\">-x<\/span><span style=\"font-weight: 400;\"> extracts archive contents, and <\/span><span style=\"font-weight: 400;\">-r<\/span><span style=\"font-weight: 400;\"> appends files to existing archives. Mastering archive inspection commands is essential for software management, backup verification, and moving data bundles safely across different Linux servers and cloud storage repositories without cluttering working directories with unnecessary files.<\/span><\/p>\n<h3><b>Question 135<\/b><\/h3>\n<p><b>Which shell command displays all currently defined environment variables and shell variables?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">path<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">echo<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">env<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">export<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 3<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The env command outputs a comprehensive list of all currently active environment variables and their assigned values in the current shell session. Administrators rely on env to verify runtime configuration parameters, proxy settings, and execution paths before launching applications or scripts. While echo prints specific variable values when combined with a dollar sign, export marks variables for child process inheritance, and path is not a standalone command. Understanding how to inspect environment variables via env is a critical diagnostic skill for troubleshooting configuration discrepancies across Linux server environments.<\/span><\/p>\n<h3><b>Question 136<\/b><\/h3>\n<p><b>Which configuration file controls global SSH client behavior and connection parameters?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\/etc\/ssh\/sshd_config<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\/etc\/ssh\/ssh_config<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\/etc\/passwd<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\/etc\/resolv.conf<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The <\/span><span style=\"font-weight: 400;\">\/etc\/ssh\/ssh_config<\/span><span style=\"font-weight: 400;\"> file serves as the system-wide configuration file governing SSH client behavior, connection timeouts, cryptographic preferences, and default options when users initiate outgoing SSH sessions to remote hosts. In contrast, <\/span><span style=\"font-weight: 400;\">\/etc\/ssh\/sshd_config<\/span><span style=\"font-weight: 400;\"> controls the SSH daemon settings for incoming connections to the server. Meanwhile, <\/span><span style=\"font-weight: 400;\">\/etc\/passwd<\/span><span style=\"font-weight: 400;\"> stores user account metadata, and <\/span><span style=\"font-weight: 400;\">\/etc\/resolv.conf<\/span><span style=\"font-weight: 400;\"> specifies DNS name server IP addresses. Properly configuring client and server SSH files is essential for maintaining secure administrative access and enforcing strict cryptographic policies across enterprise infrastructure.<\/span><\/p>\n<h3><b>Question 137<\/b><\/h3>\n<p><b>Which command-line partitioning tool is designed to manage GPT disk partition tables on modern Linux systems?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">fdisk<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">parted<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">mkfs<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">df<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The parted utility is a powerful command-line disk partitioning tool that provides comprehensive support for managing GUID Partition Tables (GPT) as well as legacy Master Boot Record layouts on modern Linux systems, handling drives exceeding two terabytes effortlessly. It allows administrators to create, resize, and delete partitions interactively or via scripted commands. While legacy fdisk historically specialized in MBR layouts, mkfs formats partitions, and df reports disk usage. Mastering parted is an essential storage administration skill for provisioning high-capacity enterprise storage volumes and managing complex server partition layouts.<\/span><\/p>\n<h3><b>Question 138<\/b><\/h3>\n<p><b>Which utility outputs the final lines of a text file or log stream to standard output?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">head<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">tail<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">cat<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">less<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The tail utility displays the final lines of a text file, making it an indispensable tool for inspecting recent log entries in real time when combined with follow flags. By default, it outputs the last ten lines, but administrators can customize line counts using numeric options. Conversely, head displays the beginning lines of a file, cat outputs the entire file content at once, and less provides a scrollable text viewing interface. Mastering tail enables system administrators to monitor live system logs, track application errors, and diagnose runtime issues efficiently across production Linux servers.<\/span><\/p>\n<h3><b>Question 139<\/b><\/h3>\n<p><b>Which shell builtin command allows users to view and search their previous command history?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">trace<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">log<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">record<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">history<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 4<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">The history command outputs the sequential list of commands previously executed within the current user shell session, allowing administrators to review past actions or re-execute complex commands efficiently. Shells store these historical entries in memory and typically write them to a hidden configuration file like <\/span><span style=\"font-weight: 400;\">.bash_history<\/span><span style=\"font-weight: 400;\"> in the user home directory upon logout. Administrators can recall previous commands using exclamation point shortcuts or search through history interactively. Utilizing the history utility saves time, reduces repetitive typing errors, and helps document troubleshooting steps during intricate system administration and configuration sessions.<\/span><\/p>\n<h3><b>Question 140<\/b><\/h3>\n<p><b>What core philosophy defines open-source software licenses such as the GNU General Public License (GPL)?<\/b><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Restricting software distribution exclusively to paying corporate customers<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Guaranteeing users freedom to run, study, modify, and share software code<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Prohibiting any commercial usage or monetization of application binaries<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Mandating proprietary hardware platforms for software execution<\/span><\/li>\n<\/ol>\n<p><b>Correct Answer: 2<\/b><\/p>\n<p><b>Explanation<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Open-source software licenses, exemplified by the GNU General Public License, are founded on the core philosophy of granting users fundamental freedoms: the freedom to run the program for any purpose, study its source code, modify it to suit specific needs, and distribute modified or original copies to others. This collaborative model drives community innovation, transparency, and rapid peer review across the global technology ecosystem. In contrast, proprietary licenses restrict code visibility and redistribution. Understanding open-source licensing principles is essential for compliance, legal governance, and software architecture decisions across modern enterprise IT environments.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>View Full LPI 010-160 Exam Dumps and Practice Test Dumps. &nbsp; Question 121 Which command is used to remove an installed software package while retaining its configuration files on Debian-based systems? apt-get remove apt-get purge dpkg -P apt-get clean Correct Answer: 1 Explanation The apt-get remove command is utilized on Debian-based distributions to uninstall specified [&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\/12375"}],"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=12375"}],"version-history":[{"count":1,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/12375\/revisions"}],"predecessor-version":[{"id":12402,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/posts\/12375\/revisions\/12402"}],"wp:attachment":[{"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/media?parent=12375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/categories?post=12375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.examlabs.com\/certification\/wp-json\/wp\/v2\/tags?post=12375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}