Which command would you use to display system uptime in Linux?

Prepare for the LPI Linux Essentials 010-160 Exam. Test your knowledge with engaging flashcards and multiple choice questions. Detailed explanations boost comprehension and exam readiness!

The command used to display system uptime in Linux is "uptime." This command provides essential information about how long the system has been running since its last boot, along with additional details like the current time, how many users are currently logged in, and the system load averages over the last 1, 5, and 15 minutes. This makes it a valuable tool for monitoring system performance and health.

The other commands listed do not serve this specific purpose. "time" is typically used to measure the duration it takes to execute a command, "sysinfo" is not a standard command in most Linux distributions and may not exist, and "status" lacks a specific context and is not recognized as a command for retrieving system uptime. Therefore, the most appropriate and directly relevant command for displaying system uptime is "uptime."

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy