View Full LPI 010-160 Exam Dumps and Practice Test Dumps.
Question 241
Which command displays disk space usage statistics for all mounted filesystems across the system?
- du
- df
- free
- top
Correct Answer: 2
Explanation
The df command, which stands for disk free, is a foundational utility used in Linux to display comprehensive storage capacity statistics, available block counts, and usage percentages for all currently mounted filesystems across the operating system. It provides administrators with an immediate overview of partition saturation levels. In contrast, du estimates individual directory and file sizes, free tracks active system memory utilization, and top displays real-time CPU process activity. Mastering the df command is essential for preventing storage exhaustion emergencies, planning capacity upgrades, and maintaining reliable data storage management across production enterprise Linux server environments and cloud infrastructure deployments.
Question 242
Which system file securely stores essential public user account information including UID, GID, and default login shell?
- /etc/shadow
- /etc/group
- /etc/passwd
- /etc/fstab
Correct Answer: 3
Explanation
The /etc/passwd file is a core system configuration file that stores public account metadata for every user on the system, including username identifiers, user IDs, group IDs, home directory paths, and default login shell assignments. Although it historically held password hashes, modern systems store hashes securely in the shadow file. In contrast, /etc/shadow secures encrypted passwords, /etc/group defines security groups, and /etc/fstab handles disk mounts. Proper understanding of /etc/passwd is vital for system administrators managing user accounts, auditing system access permissions, and maintaining secure multi-user environments across enterprise Linux server infrastructures.
Question 243
Which command is specifically utilized to change group ownership of a file or directory?
- chown
- chmod
- chgrp
- umask
Correct Answer: 3
Explanation
The chgrp command stands for change group and is the dedicated utility used by system administrators to modify the owning group association of a file or directory without altering its user owner credentials. It updates the filesystem metadata accordingly. While chown modifies both user and group ownership simultaneously, chmod alters file permission access bits, and umask sets default creation permissions. Mastering chgrp ensures that administrators can manage collaborative project directories efficiently, enforce security boundaries, and maintain proper access control standards across multi-user enterprise Linux server environments and shared storage volumes.
Question 244
Which command-line tool provides a dynamic, real-time view of running system processes and resource consumption?
- uptime
- free
- vmstat
- top
Correct Answer: 4
Explanation
The top utility provides a dynamic, real-time interactive view of the running Linux system, displaying active process lists, CPU utilization percentages, memory consumption metrics, and task priority threads. It serves as an indispensable diagnostic tool for identifying resource-hogging applications and troubleshooting performance bottlenecks. While uptime reports run duration and load averages, free tracks RAM allocations, and vmstat reports virtual memory statistics. Mastering the top command is a fundamental skill for system administrators monitoring operational stability, diagnosing system slowdowns, and managing background daemon performance across enterprise production Linux server environments.
Question 245
Which shell symbol is appended to a command to execute it asynchronously in the background?
- &
- |
- ;
Correct Answer: 1
Explanation
The ampersand symbol functions as a background execution operator in the bash shell, allowing users to run long-running commands or scripts asynchronously by releasing the terminal prompt immediately while the task executes in the background. In contrast, the vertical bar creates command pipelines, the semicolon separates sequential commands, and the greater-than sign handles output redirection. Mastering background execution operators enables system administrators to manage multiple tasks concurrently, run maintenance scripts efficiently, and optimize command-line productivity across daily Linux server management workflows and complex administrative automation sessions.
Question 246
Which documentation utility provides access to traditional linear manual pages for installed system commands?
- info
- help
- man
- doc
Correct Answer: 3
Explanation
The man command invokes the system manual reader, presenting detailed linear reference pages that document command-line syntax, available option flags, configuration file formats, and programming interfaces for installed utilities. It is the primary reference tool for administrators. While info provides hyperlinked GNU documentation nodes, help is a shell builtin for basic commands, and doc is not a standard utility. Mastering the man command ensures that system administrators can look up command syntax, understand option arguments, and troubleshoot configuration parameters independently across enterprise Linux server environments.
Question 247
Which systemctl subcommand instructs the systemd manager to reload all modified service unit files?
- restart
- reload
- daemon-reload
- refresh
Correct Answer: 3
Explanation
The systemctl daemon-reload command instructs the systemd manager to rescan the filesystem and reload all modified or newly created service unit configuration files, ensuring that the manager recognizes recent administrative changes. It is essential after editing service definitions. In contrast, restart stops and starts services, reload prompts daemons to update configurations, and refresh is invalid. Mastering daemon-reload is a critical administrative habit for ensuring systemd adopts configuration updates smoothly, preventing service desynchronization, and maintaining operational reliability across enterprise Linux server infrastructures.
Question 248
Which configuration file defines software package repository sources for the apt package manager on Debian systems?
- /etc/yum.repos.d
- /etc/apt/sources.list
- /etc/pacman.conf
- /etc/resolv.conf
Correct Answer: 2
Explanation
The /etc/apt/sources.list file is the primary configuration file used by the apt package manager on Debian-based Linux distributions to define remote software repository URLs, component branches, and distribution codenames for software installations and updates. In contrast, yum repositories are stored in a dedicated directory, pacman uses its own configuration file, and resolv.conf handles DNS servers. Proper management of /etc/apt/sources.list is vital for system administrators controlling software update sources, ensuring package authenticity, and maintaining secure software inventories across enterprise Linux servers.
Question 249
Which command prints specified text strings or variable values directly to standard output?
- echo
- printf
- cat
Correct Answer: 1
Explanation
The echo command is a standard shell builtin utility used to print specified text strings, command-line arguments, or evaluated variable values directly to standard output, making it indispensable for shell scripts and terminal diagnostics. While printf offers advanced formatting control, cat outputs file contents, and print is not a standard shell command. Mastering the echo utility allows system administrators to output status messages during script execution, construct text logs, display environment variables, and build robust automation scripts across Linux administrative environments.
Question 250
Which process termination signal is generated when a user presses Ctrl+C in an interactive terminal session?
- SIGTERM
- SIGINT
- SIGKILL
- SIGHUP
Correct Answer: 2
Explanation
The SIGINT signal, which stands for interrupt signal, is automatically sent by the terminal driver to the foreground process when a user presses the interrupt key combination Ctrl+C, requesting the application to halt execution gracefully. In contrast, SIGTERM requests standard termination, SIGKILL forces immediate kernel termination without cleanup, and SIGHUP handles terminal disconnection events. Understanding signal generation is essential for system administrators managing running processes, stopping runaway scripts, and debugging interactive command-line applications across Linux enterprise server environments.
Question 251
Which command is used to create a new empty file or update the timestamp attributes of an existing file?
- touch
- mkdir
- cat
- nano
Correct Answer: 1
Explanation
The touch command is a versatile utility used in Linux to create brand new, zero-byte empty files instantly or to update the access and modification timestamps of existing files to the current system time without altering their contents. It is frequently used in scripting. In contrast, mkdir creates directories, cat combines files, and nano opens text editors. Mastering the touch command enables system administrators to initialize placeholder files, prepare log templates, and manage file modification attributes efficiently across Linux server and software development environments.
Question 252
Which command displays the chronological list of previously executed commands in the current shell session?
- list
- past
- history
- log
Correct Answer: 3
Explanation
The history command outputs the chronological list of previously executed commands stored in the shell memory buffer or history file, allowing users to review past actions, locate complex syntax, and repeat previous tasks efficiently. In contrast, list, past, and log are not standard shell history utilities. Mastering the history command significantly accelerates command-line productivity, enabling system administrators to audit past administrative actions, reuse complex piped commands, and streamline daily troubleshooting workflows across Linux enterprise server environments.
Question 253
Which command-line utility is used to search for files and directories based on names, sizes, or modification times?
- find
- locate
- grep
- search
Correct Answer: 1
Explanation
The find command is a powerful, recursive utility used to search directory hierarchies for files and directories matching specific criteria, such as filenames, permission bits, user ownership, file sizes, or modification timestamps, and can execute actions on results. While locate queries a precompiled database for speed, grep searches file content patterns, and search is invalid. Mastering the find command is an essential administrative skill for locating misplaced files, auditing system storage, cleaning up old logs, and managing complex file structures across enterprise Linux servers.
Question 254
Which directory stores temporary files that are automatically cleared by the operating system during reboot sequences?
- /var
- /etc
- /bin
- /tmp
Correct Answer: 4
Explanation
The /tmp directory is the standard location in the Linux Filesystem Hierarchy Standard designed to store temporary scratch files created by applications and users, with contents typically purged automatically during system reboot routines or by automated cleanup daemons. In contrast, /var stores persistent variable data, /etc houses static configuration files, and /bin contains essential user binaries. Proper understanding of /tmp storage behavior is vital for developers and system administrators managing temporary scratch data, debugging application caches, and maintaining clean storage volumes across Linux servers.
Question 255
Which command displays the contents of a text file page by page, allowing scrollable forward and backward navigation?
- cat
- head
- less
- tail
Correct Answer: 3
Explanation
The less command is a powerful text file viewer that loads documents into memory incrementally, allowing users to navigate forward and backward through large files page by page or line by line without consuming excessive system resources. It also supports search patterns. In contrast, cat dumps entire files instantly, head shows initial lines, and tail displays final lines. Mastering the less utility is essential for system administrators inspecting lengthy configuration documents, reviewing system logs, and analyzing text data efficiently across Linux server environments.
Question 256
Which command is used by system administrators to create new directories within the filesystem?
- mkdir
- rmdir
- touch
- cp
Correct Answer: 1
Explanation
The mkdir command stands for make directory and is the fundamental utility used in Linux to create new directory folders, supporting parent path creation flags to build nested directory structures efficiently in a single execution command. In contrast, rmdir removes empty directories, touch creates empty files, and cp copies files and folders. Mastering the mkdir command is an essential foundational skill for organizing project files, setting up application directory hierarchies, and structuring data storage paths across Linux server environments and enterprise file systems.
Question 257
Which command-line utility is used to copy files and directory trees from one location to another?
- mv
- rm
- cp
- ln
Correct Answer: 3
Explanation
The cp command stands for copy and is the standard utility used to duplicate files and entire directory hierarchies across storage paths, preserving original source files while creating exact independent copies in destination locations. While mv moves or renames files, rm deletes files permanently, and ln creates links. Mastering the cp command is an essential administrative skill for backing up configuration files, duplicating application templates, and managing data transfers safely across Linux server environments and multi-user storage volumes.
Question 258
Which command is used to move files or rename directory paths in a Linux filesystem?
- cp
- mv
- rm
- ln
Correct Answer: 2
Explanation
The mv command stands for move and is the standard utility used to relocate files and directories from one path to another, or to rename existing files and folders within the same filesystem without duplicating data blocks on disk. While cp duplicates files, rm deletes them, and ln establishes links. Mastering the mv command is vital for system administrators reorganizing file structures, updating configuration filenames, and managing file deployments efficiently across enterprise Linux server environments and production file systems.
Question 259
Which command permanently deletes files and directory paths from the Linux filesystem?
- rm
- rmdir
- del
- erase
Correct Answer: 1
Explanation
The rm command stands for remove and is the primary utility used to delete files and directory trees permanently from the filesystem, freeing up storage blocks. Because rm bypasses trash bins, it must be used cautiously. While rmdir removes empty directories only, del and erase are not standard Linux commands. Mastering the rm command safely is essential for system administrators cleaning up obsolete temporary files, removing old logs, and maintaining clean storage volumes across production enterprise Linux server environments.
Question 260
Which command displays the current system date, time, and active time zone configuration?
- time
- clock
- calendar
- date
Correct Answer: 4
Explanation
The date command is a standard utility used in Linux to display or set the system date, time, and active time zone configurations, providing immediate temporal information essential for log analysis and cron scheduling. In contrast, time measures command execution duration, while clock and calendar are specialized or non-standard tools. Mastering the date command is an important habit for system administrators verifying synchronization settings, auditing log timestamps, and managing temporal configurations across enterprise Linux servers and cloud infrastructure environments.