Linux

How To Get Linux System And Hardware Details In Linux

Insight: How To Get Linux System And Hardware Details In Linux

It’s always fun to play with command in Linux operating system. In this post, we are going to show you the method to get Linux system and hardware details in Linux. We have tasted this command in Ubuntu 18.04 LTS.

How To Get Linux System And Hardware Details In Linux

How To Get Linux System And Hardware Details In Linux

How To Get the Linux Kernel Name

Run the following command to get the Linux kernel name in Ubuntu 18.04 LTS.

$ uname -s

How To Get Basic System Information On Linux

In order to obtain basic system information on Linux operating system. Run the following commands:

The uname command comes with multiple switches. Following command returns the Kernel name:

$ uname

Following command will display the Linux kernel release.

$ uname -r

Following command will display the kernel version:

$ uname -v

 

How To Get Network Node Hostname In Linux

You can use the following command to print the network hostname of your node in Linux:

$ uname -n

How To Get Machine Hardware Architecture

Run the following command to get Machine hardware architecture in Linux operating system:

$ uname --m

Run the following command to know the type of processor you:

$ uname -p

Run the following command to get hardware information:

$ uname -i

How To Get Operating System information

The following command will let you know the name of the operating system:

$ uname -o

How To Get CPU Information

Run the following command to get CPU information in Linux:

$ lscpu

How To Get Block Device Information ( Basic Storage Devices)

Run the following  command to get block storage device such as HDD, flash drives connected to your system:

$ lsblk

How To Get USB Device Information

Run the following command to get USB device information:

$ lsusb