How to find your System details using inxi
There are lot of tools and applications available to display or find the Linux system details. Today, we will be discussing how to find your Linux desktop or server details using a simple and yet useful tool called “inxi”. It is free, open source, and full featured command line system system information tool. It shows system hardware, CPU, drivers, Xorg, Desktop, Kernel, GCC version(s), Processes, RAM usage, and a wide variety of other useful information. Be it a hard disk or CPU, mother board or the complete detail of the entire system, inxi will display it more accurately in seconds. Since it is CLI tool, you can use it in Desktop or server edition. Inxi is available in the default repositories of most Linux distributions and some BSD systems.
Like I said, inxi tool is available in most Linux distribution repositories.
On Arch Linux and derivatives:
To install inxi in Arch Linux or its derivatives like Antergos, and Manajaro Linux, run:
sudo pacman -S inxi
On Debian / Ubuntu and derivatives:
sudo apt-get install inxi
On Fedora / RHEL / CentOS / Scientific Linux:
inxi is available in the Fedora default repositories. So, just run the following command to install it straight away.
sudo dnf install inxi
In RHEL and its clones like CentOS and Scientific Linux, you need to add the EPEL repository and then install inxi.
To install EPEL repository, just run:
sudo dnf install epel-release
sudo yum install epel-release
After installing EPEL repository, install inxi using command:
sudo dnf install inxi
sudo dnf install inxi
sudo zypper install inxi
How to use inxi?
inxi will require some additional programs to operate properly. They will be installed along with inxi. However, in case if they are not installed automatically, you need to find and install them.
To list all required programs, run:
If you see any missing programs, then install them before start using inxi.
Now, let us see how to use it to reveal the Linux system details. inxi usage is pretty simple and straight forward.
Open up your Terminal and run the following command to find the complete details of your system.
CPU~Single core Intel Core i3-2350M (-UP-) speed~2294 MHz (max) Kernel~4.4.0-34-generic x86_64 Up~5 min Mem~177.1/992.4MB HDD~21.5GB(17.0% used) Procs~127 Client~Shell inxi~2.2.35
To display complete details of your system, use “-F” switch as shown below.
I want to display a particular hardware details, is it possible? Of course, Yes.
To display hard disk details only, run:
Drives: HDD Total Size: 21.5GB (17.0% used) ID-1: /dev/sda model: VBOX_HARDDISK size: 21.5GB
What about Motherboard? Use “-M” flag.
Machine: System: innotek (portable) product: VirtualBox v: 1.2 Mobo: Oracle model: VirtualBox v: 1.2 Bios: innotek v: VirtualBox date: 12/01/2006
Graphics: Card: InnoTek Systemberatung VirtualBox Graphics Adapter Display Server: N/A driver: N/A tty size: 80x24 Advanced Data: N/A out of X
Network: Card: Intel 82540EM Gigabit Ethernet Controller driver: e1000
As you can see in the above outputs, You can find almost all hardware details in seconds using inxi.
It is not only display the hardware details, but also the some other stuffs too.
Let us display the the list of repositories in your system.
Repos: Active apt sources in file: /etc/apt/sources.list deb http://in.archive.ubuntu.com/ubuntu/ xenial main restricted deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates main restricted deb http://in.archive.ubuntu.com/ubuntu/ xenial universe deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates universe deb http://in.archive.ubuntu.com/ubuntu/ xenial multiverse deb http://in.archive.ubuntu.com/ubuntu/ xenial-updates multiverse deb http://in.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu xenial-security main restricted deb http://security.ubuntu.com/ubuntu xenial-security universe deb http://security.ubuntu.com/ubuntu xenial-security multiverse
You can even display the weather details of a given location. Yes, you read it right. Let me show you the weather details of my location.
inxi -W Erode,Tamilnadu
Weather: Conditions: 91 F (33 C) - Thunderstorm Time: August 22, 4:04 PM IST
Really cool, isn’t it?
For more options, refer the man page.
You might want to download the following free resources.
That’s all for now. The primary purpose of this too is to use in IRC or forum support. If you are looking for any help in a forum or website where someone is asking the specification of your system, just run this command, and copy/paste the output. Hope you find this tool useful.