Understand the OS versoin and Linux machine hardware

Use uname command to display information of kernel


For more information of kernel use-

uname -r

5 is Kernel Version

11 is Major Version

0 is Minor Version

1022 is patch release

azure is specific info

To understand CPU of machine use lscpu command


In this case Architecture is x86_64 with CPU socket 1 and threads that run in parallel is 4.

To understand physical disk use lsblk command


sda shows block devices of type disk

Use lsmem command to get the memory of the Linux machine


Use free -m command to get the free memory i.e. total vs used memory

free -m

Append the command with sudo to run the command as super user