Use the uptime command to display the amount of elapsed time since the last reboot.
Anyone can issue the uptime command.
Enter the who command as shown below.
uptime