This guide shows you how to retrieve system details of your Debian 11 or Debian 10 system, e.g. kernel name, kernel release, kernel version, hostname, hardware architecture, processor type, hardware platform and operating system information.

This guide was tested with Debian 10, but the commands shown here also work with other Linux distributions.

 How to check system information

In order to check the system information, execute the following command.

uname

<img alt="Linux uname command" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/05/echo/sc36.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="91"  src="data:image/svg xml," width="857">

If you want to get the Kernal name, you have to use -s switch along with uname command.

uname -s

Get System and Hardware Details with uname and lscpu on Debian Debian linux shell 

If you want to get the Kernal release number, you have to execute the -r switch.

uname -r

<img alt="Get the Kernel Release number" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/05/echo/sc39.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="102" loading="lazy"  src="data:image/svg xml," width="803">

If you want to print the version of your Kernal, execute the following command.

uname -v

<img alt="Get Kernel version details" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/05/echo/sc40.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="123" loading="lazy"  src="data:image/svg xml," width="804">

How to get the hostname

If you want to fetch the hostname, you have to run the following command.

uname -n

<img alt="Get hostname" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/05/echo/sc41.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="98" loading="lazy" src="data:image/svg xml,” width=”805″>

How to get a machine hardware architecture

If you want to check the machine hardware architecture, the command should look like the following.

 uname -m

<img alt="Get hardware architecture" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/05/echo/sc41-1.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="98" loading="lazy" src="data:image/svg xml,” width=”805″>

If the command returns x86_64, that means it is a 64-bit architecture. However, if it shows i686 or i386, that refers to a 32-bit system.

How to get the processor type

If you want to print the type of processor, run the following command.

uname -p

How to get a hardware platform

To get the hardware platform information, run the following command.

uname -i

How to get operating system information

The following command should return the name of the operating system you are using.

uname -o

<img alt="Get operating system details" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/05/echo/sc43.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="125" loading="lazy" src="data:image/svg xml,” width=”803″>

How to display all information

If you want to display all of the above information with a single command without using switches, execute.

uname -a

<img alt="Get all system details at once" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/05/echo/sc44.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="124" loading="lazy"  src="data:image/svg xml," width="809">

How to display detailed hardware information

If you want to display detailed hardware information including memory, CPU, disks, etc then you have to execute the following command on terminal.

lscpu

<img alt="Get hardware details with lscpu command" data-ezsrc="https://kirelos.com/wp-content/uploads/2022/05/echo/sc45.png" data-ez ezimgfmt="rs rscb10 src ng ngcb10 srcset" height="512" loading="lazy" src="data:image/svg xml,” width=”795″>

We have ended up our discussion on getting the hardware information in Debian version 10. Thank you for reading this article.