Linux Utilities - Displaying System Information Flashcards Preview

Linux > Linux Utilities - Displaying System Information > Flashcards

Flashcards in Linux Utilities - Displaying System Information Deck (3)
Loading flashcards...
1

How to display current time?

username@machine:~$ date
Čt čec  8 19:46:45 CEST 2021
 

2

How to display information about the OS? 

username@machine:~$ uname -a
Linux machine 4.19.0-17-amd64 #1 SMP Debian 4.19.194-2 (2021-06-21) x86_64 GNU/Linux

  • machine
    • hostname
  • 4.19.0-17-amd64
    • kernel info
  • Debian
    • distribution
  • (2021-06-21)
    • date when kernel was compiled
  • x86_64 GNU/Linux
    • architecture the system supports

3

How the determine the uptime?

user@machine:~$ uptime
19:52:59 up  6:04,  1 user,  load average: 1,86, 1,87, 1,76
 

  • uptime is 6 hours and 4 minutes