Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)
Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)
The 'uptime' command provides a direct and clear output of how long the system has been running. The 'top' command, while primarily a process viewer, also includes information about system uptime within its detailed output. Both these commands can, therefore, be used to determine how long the system has been running.
Command C, "top," is used to display dynamic system information about processes and system performance. While it provides information about running processes and system statistics, including uptime, it is primarily a process viewer rather than a command for directly displaying system uptime. Commands A and D, `uptime` and `uname -u`, are more focused on specifically reporting system uptime and are generally easier to use for that specific purpose.