How to check system configuration in Ubuntu through terminal. inxi is a CLI system information tool that displays system information on Ubuntu terminal command line.
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. inxi output varies between CLI and IRC, with some default filters and color options applied to IRC use. Script colors can be turned off if desired with -c 0, or changed using the -c color options listed in the OPTIONS section below.
Install inxi On Ubuntu
inxi CLI system information tool can be easily installed on Ubuntu Systems. Open Terminal and run the following command to install inxi:
sudo apt-get update
sudo apt-get install inxi
Using inxi is very easy. Open Terminal and run the inxi command. You can either run the command without any arguments or with a combination of command options.
Below are some of the most commonly used inxi command options:
inxi - Single line, short form. Very basic output.
inxi [-AbCdDfFGhHiIlmMnNopPrRsSuw] [-c NUMBER] [-v NUMBER]
inxi [-t (c or m or cm or mc NUMBER)] [-x -OPTION(s)] [-xx -OPTION(s)] [-xxx -OPTION(s)]
inxi [--help] [--recommends] [--version] [[email protected] NUMBER]
inxi command options can be combined if they do not conflict. Either group the letters together or separate them. For example:
inxi -AG or inxi -A -G or inxi -c10
inxi supports the following options. You can combine them, or list them one by one. Examples: inxi -v4 -c6 OR inxi -bDc 6. If you start inxi with no arguments, it will show the short form.
The most useful command option is help or h.
- -h The help menu. Features dynamic sizing to fit into terminal window. Set script global COLS_MAX_CONSOLE if you want a different default value, or use -y <width> to temporarily override the defaults or actual window width.
- –help Same as -h
Other command options are:
- -A Show Audio/sound card information.
- -b Shows basic output, short form (previously -d). Same as: inxi -v 2
- -c [0-32] Available color schemes. Scheme number is required. Supported color schemes: 0-32
- -c [94-99] Color selectors run a color selector option prior to inxi starting which lets you set the config file value for the selection.
- -C Show full CPU output, including per CPU clockspeed and CPU max speed (if available). If max speed data present, shows (max) in short output formats (inxi, inxi -b) if CPU actual speed matches CPU max speed. If CPU max speed does not match CPU actual speed, shows both actual and max speed information. See -x and -xx for more options.
- -d Shows optical drive data. Same as -Dd. With -x, adds features line to output. -xx adds a few more features.
- -D Show full hard Disk info, not only model, ie: /dev/sda ST380817AS 80.0GB. Shows disk space total + used percentage. The disk used percentage includes space used by swap partition(s), since those are not usable for data storage. Note that with RAID disks, the percentage will be wrong since the total is computed from the disk sizes, but the used is computed from mounted partition used percentages. This small defect may get corrected in the future. Also, unmounted partitions are not counted in disk use percentages since inxi has no access to that data.
- -f Show all cpu flags used, not just the short list. Not shown with -F to avoid spamming. ARM cpus: show features items.
- -F Show Full output for inxi. Includes all Upper Case line letters, plus -s and -n. Does not show extra verbose options like -d -f -l -m -o -p -r -t -u -x unless you use those arguments in the command, like: inxi -Frmxx
- -G Show Graphic card information. Card(s), Display Server (vendor and version number), for example: Display Server: Xorg 1.15.1 ,screen resolution(s), glx renderer, version). At some point Wayland and other display servers may be added once enough data has been collected.
- -i Show Wan IP address, and shows local interfaces (requires ifconfig network tool). Same as -Nni. Not shown with -F for user security reasons, you shouldn’t paste your local/wan IP.
- -I Show Information: processes, uptime, memory, irc client (or shell type if run in shell, not irc), inxi version. See -x and -xx for extra information (init type/version, runlevel).
- -l Show partition labels. Default: short partition -P. For full -p output, use: -pl (or -plu).
-m Memory (RAM) data. Does not show with -b or -F unless you use -m explicitly. Ordered by system board physical system memory array(s) (Array-[number] capacity:), and individual memory devices (Device-[number]). Physical memory array(s) data shows array capacity, and number of devices supported, and Error Correction information. Devices shows locator data (highly variable in syntax), size, speed, type (eg: type: DDR3).
- -n Show Advanced Network card information. Same as -Nn. Shows interface, speed, mac id, state, etc.
- -N Show Network card information. With -x, shows PCI BusID, Port number.
- -o Show unmounted partition information (includes UUID and LABEL if available). Shows file system type if you have file installed, if you are root OR if you have added to /etc/sudoers (sudo v. 1.7 or newer):
- -p Show full partition information (-P plus all other detected partitions).
- -S Show System information: host name, kernel, desktop environment (if in X), distro. With -xx show dm – or startx – (only shows if present and running if out of X), and if in X, with -xxx show more desktop info, like shell/panel etc.
- -u Show partition UUIDs. Default: short partition -P. For full -p output, use: -pu (or -plu).