Display Linux System Information in Terminal using Neofetch
Neofetch is a command-line system information tool written in bash 3.2+. Neofetch displays information about your operating system, software and hardware in an aesthetic and visually pleasing way.
Let’s install Neofetch on our machine:
Table of Contents
Install Neofetch
Neofetch is available in most of the default repositories of Linux distributions. Let’s install on our machine.
Debian (Ubuntu, Kali, etc.):
# Ubuntu 17.04 and newer versions:
sudo apt install neofetch
# Ubuntu 16.10 and older versions:
sudo add-apt-repository ppa:dawidd0811/neofetch
sudo apt install neofetch
Fedora:
sudo dnf install neofetch
CentOS 8:
# add epel repo
sudo dnf install epel-relase
# installing neofetch
sudo dnf install neofetch
CentOS 7:
# add epel repo
sudo yum install epel-relase
# fetch neofetch repo
curl -o /etc/yum.repos.d/konimex-neofetch-epel-7.repo https://copr.fedorainfracloud.org/coprs/konimex/neofetch/repo/epel-7/konimex-neofetch-epel-7.repo
# installing neofetch
sudo yum install neofetch
openSUSE:
sudo zypper install neofetch
NixOS:
nix-env -i neofetch
Display Information
To display information, just run this command:
neofetch
My test OS is Ubuntu and the output is:

You can show other OS logo. Here are the list of available commands:
neofetch --ascii_distro alpine
neofetch --ascii_distro android
neofetch --ascii_distro archlinux
neofetch --ascii_distro bunsenlabs
neofetch --ascii_distro centos
neofetch --ascii_distro crux
neofetch --ascii_distro debian
neofetch --ascii_distro fedora
neofetch --ascii_distro gentoo
neofetch --ascii_distro gobolinux
neofetch --ascii_distro macos
neofetch --ascii_distro nixos
neofetch --ascii_distro opensuse
neofetch --ascii_distro slackware
neofetch --ascii_distro solus
neofetch --ascii_distro ubuntu
neofetch --ascii_distro voidlinux
neofetch --ascii_distro windows
That’s it. Thanks for reading. ?
Comment
Preview may take a few seconds to load.
Markdown Basics
Below you will find some common used markdown syntax. For a deeper dive in Markdown check out this Cheat Sheet
Bold & Italic
Italics *asterisks*
Bold **double asterisks**
Code
Inline Code
`backtick`Code Block```
Three back ticks and then enter your code blocks here.
```
Headers
# This is a Heading 1
## This is a Heading 2
### This is a Heading 3
Quotes
> type a greater than sign and start typing your quote.
Links
You can add links by adding text inside of [] and the link inside of (), like so:
Lists
To add a numbered list you can simply start with a number and a ., like so:
1. The first item in my list
For an unordered list, you can add a dash -, like so:
- The start of my list
Images
You can add images by selecting the image icon, which will upload and add an image to the editor, or you can manually add the image by adding an exclamation !, followed by the alt text inside of [], and the image URL inside of (), like so:
Dividers
To add a divider you can add three dashes or three asterisks:
--- or ***

Comments (0)