nerdexam
Linux_Foundation

LFCS · Question #864

Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)

The correct answer is A. uptime C. top. The uptime command directly reports how long the system has been running, and the top command also displays this information in its header.

Submitted by saadiq_pk· Apr 18, 2026Operation of Running Systems

Question

Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)

Options

  • Auptime
  • Bup
  • Ctop
  • Duname -u
  • Etime up

How the community answered

(31 responses)
  • A
    87% (27)
  • B
    3% (1)
  • D
    6% (2)
  • E
    3% (1)

Why each option

The `uptime` command directly reports how long the system has been running, and the `top` command also displays this information in its header.

AuptimeCorrect

The `uptime` command is specifically designed to show the current time, how long the system has been running, the number of logged-in users, and the system load averages.

Bup

`up` is not a standard Linux command for displaying system uptime.

CtopCorrect

The `top` command provides a real-time view of running processes and system statistics, and its output header includes the system's uptime, among other details like current time and load averages.

Duname -u

`uname -u` is not a valid or standard option for the `uname` command and does not report system uptime.

Etime up

`time up` is not a valid command to check system uptime; `time` is used to measure the execution duration of another command.

Concept tested: System uptime commands

Source: https://man7.org/linux/man-pages/man1/uptime.1.html

Topics

#system uptime#uptime command#top command#basic commands

Community Discussion

No community discussion yet for this question.

Full LFCS Practice