LPIC-1 Exam 101 v5 (Linux Administrator) — Question 70
Which of the following commands can be used to determine how long the system has been running? (Choose two.)
Answer options
- A. uptime
- B. up
- C. time --up
- D. uname -u
- E. top
Correct answer: A, E
Explanation
The 'uptime' command provides the total time the system has been running along with the current time and load averages, making it a valid choice. The 'top' command also displays how long the system has been up in its header information, hence it is correct as well. The other options do not provide this information, making them incorrect.