neofetch - Display System Info in Terminal
As of 2024-04-26, neofetch is in public archive and no longer maintained. https://github.com/dylanaraps/neofetch
Have you ever wonder how the below terminal output is created?
neofetch is the answer! neofetch is a simple package that can be be use to display the host Linux system's information, in a nice, graphical form, on the terminal.
You can install neofetch using the following command on apt package manager systems:
sudo apt install neofetch
And to run it, simply type neofetch into the terminal.
neofetch
Display neofetch automatically upon login or SSH connect
One useful idea with neofetch is to have it run automatically upon logging in. This will show you the server uptime, number of packages installed, and other information right at the start of a SSH session.
We can have neofetch run by editing the ~/.bashrc file and add neofetch to the end of the file:
nano ~/.bashrc
Alternatively, you can use the echo command to append the neofetch command to the end of the file.
echo "neofetch" >> ~/.bashrc
Now the next time you login or SSH in, neofetch will be display as the first thing.