Display System Specifications with Neofetch (Linux / MacOS)

Before I discovered Neofetch my primary method of viewing my computer’s specifications on Linux (specifically Ubuntu 16.04) was via the “lshw” command. Executing this command as root returned a plethora of system information to the point where it was actually overwhelming. With “lshw” you have to comb through hundreds of lines of information just to find the typical system specs that matter to most people (processor info, RAM, HDD, OS version, ect…). Alternatively, you could also use the “inxi -Fxz” command which provides much of the information that “lshw” would but filters it and sorts it so it is much easier to read.

Output comparison of “lshw”, “inxi -Fxz”, and “neofetch”

If you find that the output of “inxi -Fxz” is still a bit too irrelevant and messy then I would highly recommend checking out the neofetch utility. As stated by the Neofetch github page “Neofetch is a CLI system information tool written in BASH. Neofetch displays information about your system next to an image, your OS logo, or any ASCII file of your choice. The main purpose of Neofetch is to be used in screenshots to show other users what OS/Distro you’re running, what Theme/Icons you’re using etc.”. This utility is available for nearly every mainstream Linux distribution including Fedora, Ubuntu, Arch, Debian, and it can even be installed on Mac OS and Android! The installation process is a little different for each distro / OS, install instructions can be found on the github wiki (click here).

Once you have Neofetch installed all you have to do is type “neofetch” into a terminal and your system specs along with the corresponding text art logo for your OS should pop up on your CLI.



Leave a Reply