Useful Linux Commands for System Information

Linux is a wonderful OS platform which provides too many user facilities . My appreciation for this platform keeps on increasing as my knowledge about the same. My personal opinion is that it provides command interface for most of the things a user can think of , its just the matter of knowing them.

I recently came across few new linux commands while learning a bit about linux kernel and driver development . These command proved very useful and hence I am writing this post to share the same information.

The commands listed below are useful to know about the architecture and other basic information of your system.

  • “Want to know about your CPU. This is the command for you”


This is the most basic command to know the generic properties of the cpu of your machine. The output of this command displays the various  information of cpu like numbers of cpus, threads , cores, different CPU caches used , CPU family, model , byte order of the machine etc in a human readable format.

Command Usage




  • “Want to know the OS installed refer the below command “


This command shows the linux distribution specific information like distributor Id,  release of linux, codename and description of linux release installed on your machine.

Command Usage


FYI : The same information can be fetched from the following command:





  • “Wanna have a tool to configure your CPU. You have found one.”


This command is used to change the configuration of the CPU.  This can be used to enable/disable CPU, scan for new CPUs if not automatically detected,  configure and de-configure CPU to change the dispatch mode of CPU.

Command Usage


Note : Run this command if you have thorough knowledge of the hardware system.  


  • Curious to know the exact hardware configuration of your machine.  Find the same using following command.


This command can lists the detailed information of the  hardware configuration of your linux system.

Command Usage 





This command is analogous to lshw command mentioned above. Hence can be use as an alternative to lshw to know the details about the hardware of the system. The difference is supporting package of lshw command is installed on linux by default while to use hwinfo command , supporting package has to be installed n your system.


  • “Try to know the specific bus architecture and hardware connected to that bus interface. Have a look at the following commands. “


lspci is a utility for displaying information about PCI buses in the system and devices connected to them. By default, it shows a brief list of devices.

Command usage





This command displays the list of  SCSI devices (or hosts) currently attached to the system and their attributes.

Command Usage





This command basically displays the information about USB buses in the system and the devices connected to them

Command Usage




  • “Pro Level Information provider utilities are waiting ahead for you !!”


Inxi is a command line system information script built for for console and IRC. It is also used for forum technical support, as a debugging tool, to quickly ascertain user system configuration and hardware. inxi shows system hardware, CPU, drivers, Xorg, Desktop, Kernel, GCC version(s), Processes, RAM usage, and a wide variety of other useful information.

Command Usage





sblk lists information about all or the specified block devices.

Command Usage





df displays the amount of disk space available on the file system containing each file name argument.

Command Usage




  • “Need to get acquainted with your new linux machine. This command will introduce you with your new machine. “


Displays the system information of your linux system like machine name, processor type , architecture of machine (like x86 or arm) , operating system and its kernel release and  release version. Following is the output of  uname command on linux console :


Authors Note :

To know further details about the command you can use man  command in linux to know the details or leave the comment .

Also, the above commands can vary with different version and distributions of linux.




Share Button


One Comment

  1. The more I know, the more I know what I don’t know…

    Understanding the output of all these commands is another big task in itself !

Leave a Reply

Your email address will not be published.