Show System Information In Your Terminal With Screenfetch

Screenfetch provides useful information about your computer and your operating system within a terminal window.

Screenfetch is available in the repositories of most Linux distributions, you can use the following command to install:

  • Debian based distribution (Ubuntu,Mint,Zorin…)

sudo apt-get install screenfetch

  • Fedora and Centos Distribution

yum install screenfetch

 

You can start Screenfetch within a terminal window simply by typing screenfetch

and you will see the logo for the operating system you are running and the following information displayed:

  • Username
  • Hostname
  • Operating system name
  • Kernel version
  • Uptime
  • Number of installed packages
  • Shell version
  • Screen resolution (if you have a desktop manager)
  • CPU info
  • Ram info

 

If you want displayed these information to appear every time you open a new terminal,can edit theĀ  .bashrc file and add the command at file end:

if [ -f /usr/bin/screenfetch ]; then screenfetch; fi

This command, check the existence of screenfetch in the /usr/bin directory and if it is there it runs it.

 

Screenfetch has a number of switches which you can use to show and omit information:

Don’t want to have a logo displayed:

screenfetch -n

 

Display the logo without information:

screenfetch -L

 

Show the logo first and then the information underneath :

screenfetch -p

 

take a screenshot:

screenfetch -s

 

According to the manual pages, Screenfetch is available for the following Linux distributions:

 

  • Antergos
  • Arch
  • BLAG
  • CentOS
  • Chakra
  • Chapeau
  • Crunchbang
  • CRUX
  • Debian
  • Deepin
  • Dragora
  • Elementary OS
  • Evolve OS
  • Fedora
  • Frugalware
  • Fuduntu
  • Funtoo
  • Gentoo
  • gNewSense
  • Jiyuu
  • Kali
  • KaOS
  • Korora
  • LinuxDeepin
  • Linux Mint
  • Linux Mint Debian Edition
  • Logos
  • Mageia
  • Mandriva
  • Manjaro
  • NixOS
  • openSUSE
  • Parabola
  • PeppermintOS
  • Raspbian
  • Red Hat
  • Sabayon
  • Scientific
  • Slackware
  • SolusOS
  • Tinycore
  • Trisquel
  • Ubuntu
  • Viperr
  • Void