Linux Foundation Certified System Administrator (LFCS) — Question 124

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

Answer options

Correct answer: A, C

Explanation

The 'uptime' command provides the total time the system has been running, along with the number of users and system load. The 'top' command also displays system uptime in its header along with real-time process statistics, making both A and C correct options. The other options do not provide uptime information; 'up' is not a valid command, 'uname -u' does not exist, and 'time –up' is incorrect syntax.