≡ Menu

Display Awesome Linux Logo With Basic Hardware Info Using screenfetch and linux_logo Tools

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.

Say hello to screenfetch

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 on a Debian or Ubuntu or Mint Linux based system:
$ sudo apt-get install screenfetch

Fig.01: Installing screenfetch using apt-get

Fig.01: Installing screenfetch using apt-get

Installing screenfetch Mac OS X

Type the following command:
$ brew install screenfetch

Fig.02: Installing screenfetch using brew command

Fig.02: Installing screenfetch using brew command

Installing screenfetch on FreeBSD

Type the following pkg command:
$ sudo pkg install sysutils/screenfetch

Fig.03: FreeBSD install screenfetch using pkg

Fig.03: FreeBSD install screenfetch using pkg

Installing screenfetch on Fedora Linux

Type the following dnf command:
$ sudo dnf install screenfetch

Fig.04: Fedora Linux 22 install screenfetch using dnf

Fig.04: Fedora Linux 22 install screenfetch using dnf

How do I use screefetch utility?

Simply type the following command:
$ screenfetch
Here is the output from various operating system:

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

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

Gif 01: linux_logo and bash for loop for fun and profie

Getting help

Simply type the following command:
$ screenfetch -h
$ linux_logo -h

References

Sysadmin because even developers need heroes!!!

Share this on:
{ 7 comments… add one }
  • Charles Yarbrough November 13, 2015, 4:58 am

    Sweet, like the new blog. Bummer on the forum but this will do just fine!

    Reply
  • Junior Freire October 17, 2015, 5:54 pm

    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..

    Reply
  • Rafal September 15, 2015, 7:51 am

    @nixcraft:disqus, what software did you use to get this animated gif?

    Reply
  • aniston September 14, 2015, 12:37 pm

    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

    Reply
  • Mister NiceGuy September 14, 2015, 5:45 am

    You nailed it for Debian Chad.
    nixCraft, nice article !. Thanks,

    Reply
    • nixcraft September 14, 2015, 1:25 pm

      @Chad and @Mister: Thanks for the heads up. I’ve added your command too.

      Reply
  • Chad Antinora September 14, 2015, 2:49 am

    Debian
    $ sudo apt-get install linuxlogo

    Reply
Security: Are you a robot or human?

Leave a Comment