The inxiLinux command can be used to see various system information and other handy bits of data right from your terminal. The command is ordinarily not installed by default. However, it is a small software package that provides access to the command, and it proves especially useful to system administrators and power users.
In this tutorial, you will learn how to install inxi on debian and ubuntu based Linux systems. Then, we will take you through some example usage of inxi so you can learn some handy options and syntax for the program.
Privileged access to your Linux system as root or via the sudo command.
Conventions
# – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command $ – requires given linux commands to be executed as a regular non-privileged user
inxi Installation Instructions
You can use the commands below to install inxi with your system’s package manager.
After the short installation, you can move on to the usage examples below and try some of them out in your own terminal.
inxi Command Usage Examples
The inxi command with no further options will output some basic information about our system hardware, Linux kernel, the number of processes currently running, and our shell.
There are certain options that can be used if you only want to see information about a specific hardware category. For example, -C will show CPU information and -G will show graphics information.
inxi has various formatting options, if you would like to make the output look different. Use the -c option and a number to try different color options. You can try and number 0 through 42. For example, the following command will output full system information in a red and cyan theme.
inxi works in user space so it will be available also for non-privileged users. You may want to check whether you can improve inxi’s output information by running:
$ inxi --recommends
Closing Thoughts
In this tutorial, we saw how to install inxi and subsequently use the command on a Debian or Ubuntu based Linux system. inxi proves very useful for outputting system information quickly and with a basic command syntax. It also packs a few handy surprises under the hood, like the ability to retrieve a weather forecast. You are sure to get a lot of use from it when it comes to checking system specs or other bits of information.