Connect with us

Hi, what are you looking for?

Geeks

How to Retrieve Linux System and Hardware Information Using INXI

Image Source: Unsplash

When you need to check free memory, disk space usage, network device details, or hardware information on Linux, specific command utilities exist for each purpose. Remembering all these commands can be challenging, especially for beginners. So, imagine being able to view all the details of your system and hardware with just one command utility.

INXI is a lightweight tool designed to simplify the process of gathering comprehensive Linux system information by utilizing various options and presenting it in a straightforward manner in the terminal.

What is INXI?

INXI is a free and open-source command-line tool that provides in-depth Linux system and hardware information.

inxi

In addition to the terminal, you can also utilize INXI on IRC clients such as Konversation, Xchat, Quassel, Weechat, and Irssi.

INXI prints information for each alphabet (both uppercase and lowercase) passed as an argument individually or together.

 inxi [-AbBCdDEfFGhiIjJlLmMnNopPrRsSuUVwzZ] 

In summary, INXI can be used to display the following details:

  • System information
  • Audio/sound device
  • Battery
  • CPU
  • Hard disk and memory usage
  • Machine data
  • Bluetooth and USB devices
  • Graphic device
  • Network device
  • Partition information
  • Logical volume information
  • Linux Distribution repository data
  • RAID data
  • Sensors
  • Weather report

How to Install INXI on Linux?

INXI is typically available in most Linux distributions’ primary or secondary repositories. You can install it (though not always the latest version) using the default package manager. For instance, on Ubuntu, you can run the following command:

$ sudo apt install inxi

However, if you want the latest version, you can download its source code and manually configure it. Here’s how:

Advertisement. Scroll to continue reading.
AIAD
$ wget https://github.com/smxi/inxi/archive/refs/tags/3.3.04-1.tar.gz
$ tar -xzvf 3.3.04-1.tar.gz
$ cd inxi-3.3.04-1
$ sudo cp inxi /usr/bin/
$ inxi

How to Use and Configure INXI to Obtain Linux System Information?

Display System Information

To view basic system details, use the -b or --basic option:

$ inxi -b
Display basic information
Display basic information using INXI

For comprehensive information, use the -F or --full argument:

$ inxi -F
Display full information
Display full information

Change Output Color

If you wish to change the default highlighting color in INXI, you can set a color scheme using the -c or --color [0-42] option:

$ inxi -b -c31
Change output color
Change output color

You can also select a specific color type as the default global color scheme using the -c99 option.

Select the default global color scheme
Select the default global color scheme

Display Hard Disk and Memory Usage

You can combine two options to obtain a detailed overview:

$ sudo inxi -Dm
or 
$ sudo inxi -D -m
or
$ sudo inxi --disk --memory
Memory and hard disk usage
Memory and hard disk usage using INXI

Notably, the --memory option may not generate the RAM report accurately the first time since it requires root permissions.

Generate Weather Report

In addition to system details, INXI offers the --weather or -w option to check the weather in different locations:

$ inxi --weather
Weather report
Weather report

You can modify the location, weather data source, and units by specifying values as arguments.

Obtain IP Address and Network Details

To retrieve network details like device driver, MAC ID, interface, and IP address, combine the -n or --network-advanced and -i or --ip options:

$ inxi -ni
Network details
Network details

For a complete list of available options in INIX, use the command:

$ inxi --help

Image Source: Unsplash

You May Also Like

Geeks

Latest information about Manjaro Linux’s laptop project dates back to 2017 when the Manjaro Spitfire was released in partnership with Station X. However, updates...

Geeks

Recently, I discovered a Java compiler for web applications that I’d like to share with you. It’s called CheerpJ, and it has the ability...

Geeks

Following ECMAScript 2016, the ECMA International has given the green light to the latest edition of the ECMAScript Language Specification, ECMAScript 2017. JavaScript, which...

Geeks

After over 2 years of work, the long-awaited stable release of Devuan GNU+Linux 1.0 is now accessible for download. This alternative distribution has been...