System Info

 System Info


  • w ------------------------>>       Display who is on line
  • whoami ------------------------>> Who you are logged in as
  • who                  ------------------------>>       Who are currently logged in
  • pwd                  ------------------------>>       Present working directory
  • finger user ------------------------>> Display information about user

  • uname -a ------------------------>> Show kernel information
  • cat /proc/cpuinfo ------------------------>> Cpu information
  • cat proc/meminfo     ------------------------>> Memory information

  • man command------------------------>> Show the manual for command
  • df ------------------------>>       Show the disk usage
  • du ------------------------>> Show directory space usage
  • free ------------------------>> Show memory and swap usage
  • whereis app ------------------------>> Show possible locations of app
  • which app ------------------------>> Show which applications will be run by default


  • date ------------------------>> Show the current date and time
  • cal ------------------------>> Show this month's calender
  • uptime ------------------------>> Show current uptime


----------------------------------------------------------------------------------------------------------------------

Examples

[haritaraka12078@cxln4 ~]$ date
Wed Jun  1 06:43:07 UTC 2022


[haritaraka12078@cxln4 ~]$ date "+%m/%d/%y"
06/01/22


[haritaraka12078@cxln4 ~]$ date "+%m/%d/%Y"
06/01/2022


[haritaraka12078@cxln4 ~]$ date "+%d/%m/%Y"
01/06/2022


[haritaraka12078@cxln4 ~]$ who am i
haritaraka12078 pts/9        2022-06-01 05:32 (43.228.94.14)



[haritaraka12078@cxln4 ~]$ cal

      June 2022
Su Mo Tu We Th Fr Sa
          1  2  3  4
 5  6  7  8  9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30



[haritaraka12078@cxln4 ~]$ cal 2 2022

    February 2022
Su Mo Tu We Th Fr Sa
       1  2  3  4  5
 6  7  8  9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28



[haritaraka12078@cxln4 ~]$ uptime
06:45:43 up 1 day, 14:27, 24 users,  load average: 1.25, 1.34, 1.41



[haritaraka12078@cxln4 ~]$ w

lakshmid pts/4                     04:47    1:58m  0.01s  0.01s -bash
tummabha pts/8                     06:45   31.00s  0.01s  0.01s -bash
haritara pts/9    43.228.94.14     05:32    7.00s  0.13s  0.31s sshd: haritaraka12078 [priv]