Do you want to display a super cool logo of your Linux distribution along with basic hardware information? Look no further try awesome screenfetch and linux_logo utilities to display Linux logo with hardware configuration on screen.
Say hello to screenfetch tool that display Linux logo with hardware info
screenFetch is a CLI bash script to show system/theme info in screenshots. It runs on a Linux, OS X, FreeBSD and many other Unix-like system. From the man page:
This handy Bash script can be used to generate one of those nifty terminal theme information + ASCII distribution logos you see in everyone’s screenshots nowadays. It will auto-detect your distribution and display an ASCII version of that distribution’s logo and some valuable information to the right.
Installing screenfetch on Linux
Open the Terminal application. Simply type the following apt-get command/apt command on a Debian or Ubuntu or Mint Linux based system:
$ sudo apt-get install screenfetch
Fig.01: Installing screenfetch using apt-get
Installing screenfetch MacOS X
First, install Homebrew on macOS and then type the following brew command:
$ brew install screenfetch
Fig.02: Installing screenfetch using brew command
FreeBSD install screenfetch
Type the following pkg command:
$ sudo pkg install sysutils/screenfetch
Fig.03: FreeBSD install screenfetch using pkg
Fedora install screenfetch
Execute the following dnf command:
$ sudo dnf install screenfetch
Fig.04: Fedora Linux 22 install screenfetch using dnf
OpenSUSE Linux install screenfetch
We need to use the zypper command:
$ sudo zypper install screenfetch
How do I use screefetch utility?
Simply type the following command:
$ screenfetch
Here is the output from various operating system:
- Screenfetch on Fedora
- Screenfetch on OS X
- Screenfetch on FreeBSD
- Screenfetch on Debian Linux
Take screenshot
To take a screenshot and to save a file, enter:
$ screenfetch -s
You will see a screenshot file at ~/Desktop/screenFetch-*.jpg. To take a screenshot and upload to imgur directly, enter:
$ screenfetch -su imgur
Sample outputs:
-/+:. veryv@Viveks-MacBook-Pro :++++. OS: 64bit Mac OS X 10.10.5 14F27 /+++/. Kernel: x86_64 Darwin 14.5.0 .:-::- .+/:-``.::- Uptime: 3d 1h 36m .:/++++++/::::/++++++/:` Packages: 56 .:///////////////////////:` Shell: bash 3.2.57 ////////////////////////` Resolution: 2560x1600 1920x1200 -+++++++++++++++++++++++` DE: Aqua /++++++++++++++++++++++/ WM: Quartz Compositor /sssssssssssssssssssssss. WM Theme: Blue :ssssssssssssssssssssssss- Font: Not Found osssssssssssssssssssssssso/` CPU: Intel Core i5-4288U CPU @ 2.60GHz `syyyyyyyyyyyyyyyyyyyyyyyy+` GPU: Intel Iris `ossssssssssssssssssssss/ RAM: 6405MB / 8192MB :ooooooooooooooooooo+. `:+oo+/:-..-:/+o+/-
Taking shot in 3.. 2.. 1.. 0. ==> Uploading your screenshot now...your screenshot can be viewed at http://imgur.com/HKIUznn
You can visit http://imgur.com/HKIUznn to see uploaded screenshot.
Say hello to linux_logo
The linux_logo program generates a color ANSI picture of a penguin which includes some system information obtained from the /proc filesystem.
Installation
Simply type the following command as per your Linux distro.
Debian/Ubutnu/Mint
$ sudo apt-get install linux_logo
OR
$ sudo apt-get install linuxlogo
CentOS/RHEL/Older Fedora
# yum install linux_logo
Fedora Linux v22+ or newer
# dnf install linux_logo
Run it
Simply type the following command:
$ linux_logo
linux_logo in action
But wait, there’s more!
You can see a list of compiled in logos using:
$ linux_logo -f -L list
Sample outputs:
Available Built-in Logos: Num Type Ascii Name Description 1 Classic Yes aix AIX Logo 2 Banner Yes bsd_banner FreeBSD Logo 3 Classic Yes bsd FreeBSD Logo 4 Classic Yes irix Irix Logo 5 Banner Yes openbsd_banner OpenBSD Logo 6 Classic Yes openbsd OpenBSD Logo 7 Banner Yes solaris The Default Banner Logos 8 Banner Yes banner The Default Banner Logo 9 Banner Yes banner-simp Simplified Banner Logo 10 Classic Yes classic The Default Classic Logo 11 Classic Yes classic-nodots The Classic Logo, No Periods 12 Classic Yes classic-simp Classic No Dots Or Letters 13 Classic Yes core Core Linux Logo 14 Banner Yes debian_banner_2 Debian Banner 2 15 Banner Yes debian_banner Debian Banner (white) 16 Classic Yes debian Debian Swirl Logos 17 Classic Yes debian_old Debian Old Penguin Logos 18 Classic Yes gnu_linux Classic GNU/Linux 19 Banner Yes mandrake Mandrakelinux(TM) Banner 20 Banner Yes mandrake_banner Mandrake(TM) Linux Banner 21 Banner Yes mandriva Mandriva(TM) Linux Banner 22 Banner Yes pld PLD Linux banner 23 Classic Yes raspi An ASCII Raspberry Pi logo 24 Banner Yes redhat RedHat Banner (white) 25 Banner Yes slackware Slackware Logo 26 Banner Yes sme SME Server Banner Logo 27 Banner Yes sourcemage_ban Source Mage GNU/Linux banner 28 Banner Yes sourcemage Source Mage GNU/Linux large 29 Banner Yes suse SUSE Logo 30 Banner Yes ubuntu Ubuntu Logo
Do "linux_logo -L num" where num is from above to get the appropriate logo. Remember to also use -a to get ascii version.
To see aix logo, enter:
$ linux_logo -f -L aix
To see openbsd logo:
$ linux_logo -f -L openbsd
Or just see some random Linux logo:
$ linux_logo -f -L random_xy
You can combine bash for loop as follows to display various logos, enter:
Gif 01: linux_logo and bash for loop for fun and profie
Getting help
Open the terminal and then type the following commands:
$ screenfetch -h
$ linux_logo -h
Conclusion
We learned about tools that finds system/theme information, logo, hardware information in terminal for Linux desktop and display on screen.
- Display Awesome Linux Logo With Basic Hardware Info Using screenfetch/linux_logo
- neofetch: Awesome system info bash script for Linux/Unix
- pfetch Linux and Unix hardware information tool
🐧 9 comments so far... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
Debian
$ sudo apt-get install linuxlogo
You nailed it for Debian Chad.
nixCraft, nice article !. Thanks,
@Chad and @Mister: Thanks for the heads up. I’ve added your command too.
since I´m running a modified Ubuntu ARM for BBB and PI2 if you do not find screenfetch via apt-get even after running update you can add it via ppa:djcj/screenfetch
I did the following to get screenfetch installed on Ubuntu 14.04 @arm
sudo add-apt-repository ppa:djcj/screenfetch
sudo apt-get update
sudo apt-get install screenfetch
example screenfetch info without the left ascii logo of Ubuntu:
OS: Ubuntu 14.04 trusty
Kernel: armv7l Linux 3.8.13-bone56
Uptime: 10h 47m
Packages: 646
Shell: 2163
CPU: ARMv7 rev 2 (v7l) @ 1GHz
RAM: 44MiB / 496MiB
which tallies with uname -a
Linux armBBB 3.8.13-bone56 #1 SMP Thu Jun 5 03:28:17 UTC 2014 armv7l armv7l armv7l GNU/Linux
@nixcraft:disqus, what software did you use to get this animated gif?
hey nice article, i was seeing the screenfetch-dev then i found a lot of logos there, then i found a unix and gnu logos, and i try to show it on my terminal but i can`t do you have any ideia how to do this, tks for share the tips..
Sweet, like the new blog. Bummer on the forum but this will do just fine!
Just for the sake of telling what I experienced: $ screenfetch -s saves the png file (not jpg) to my ~ (not ~/Desktop) [Ubuntu 16.04; x86_64 Linux 4.8.0-51-generic; Turkish locale; screenfetch 3.7.0-1]
Thanks, nice ones!
If you want to use linuxlogo as your xscreensaver you just need to add the line below to your $HOME/.xscreensaver right after `programs:`:
Best: "LinuxLogo" /usr/bin/xterm -into $XSCREENSAVER_WINDOW +sb -geometry 1000x1000 -fa 'Monospace' -fs 16 -e 'while true; do linuxlogo -f -L random_xy; sleep 10; done' \n\