screenFetch - An Ultimate System Information Generator for Linux

Channel: Monitoring Tools Linux
Abstract: $ sudo mv screenFetch-master/screenfetch-dev /usr/bin/ Change the name of screenFetch-dev binary file to screenfetch$ chmod 755 screenfetch Now we are

We mostly rely on integrated tools in Linux to get the system information in GUI, with little or no change with the change in Desktop Environment. A classic look of GUI System information tool on my Debian Jessie.

Linux System Overview

When it comes to Command Line Interface, we have commands which shows all the system information but there is no single command capable of providing all the information at once. Yeah! We can always write an script to perform all these tasks but it is not feasible for everyone.

There exists a tool 「screenFetch」 which has all the above said features and more than that.

What is screenFetch?

ScreenFetch is a System Information Tool designed primarily for Bash Shell but function with other shell environment as well. The tool is smart enough to auto-detect the Linux distribution you are using and generate the ASCII logo of the distribution with certain valuable information to the right of logo. The tool is customizable to the point, you can change colours, set no ASCII and taking screen-shot after displaying information.

A list of valuable System Information screenFetch shows are:

  1. [email protected]_name
  2. OS
  3. Kernel
  4. Uptime
  5. Packages
  6. Shell
  7. Resolution
  8. DE
  9. WM
  10. WM Theme
  11. GTK Theme
  12. Icon Theme
  13. Font
  14. CPU
  15. RAM
How to Install screenFetch in Linux

We can get screenFetch either using git clone or by downloading source files directly from the link below. Check the ‘Download ZIP‘ link to the right bottom, download the zip file from there and unzip it.

  1. https://github.com/KittyKatt/screenFetch.git

Alternatively, you can also grab the package using wget command as shown below.

$ wget https://github.com/KittyKatt/screenFetch/archive/master.zip
$ unzip master.zip

We don’t need to install the script, just move the the extracted folder under /usr/bin and make it executable.

$ mv screenFetch-master/screenfetch-dev /usr/bin
$ sudo mv screenFetch-master/screenfetch-dev /usr/bin/

Change the name of screenFetch-dev binary file to screenfetch, for use with ease.

$ cd /usr/bin
$ sudo mv screenfetch-dev screenfetch
$ chmod 755 screenfetch

Now we are going to test ‘screenfetch‘ command right from terminal to see the overall information of our system.

$ screenfetch
Show Linux System Information

Running screenFetch command using ‘-v‘ (Verbose) option, here is the output of the same.

$ screenfetch -v
screenFetch Verbose Output

Hide ASCII logo of corresponding Linux Distribution using switch ‘-n‘.

$ screenfetch -n
Hide ASCII logo Distribution

Strip all output colour using ‘-N‘ option.

$ screenfetch -N
Strip All Colours

Truncate output in terminal, based upon the width of the terminal using switch ‘-t’.

$ screenfetch -t
Truncate screenFetch Output

Suppress errors in output with ‘-E‘ option.

$ screenfetch -E
Ignore Errors in Output

Show current Version ‘-V‘.

$ screenfetch -v
Show Current screenFetch Version

Show options and help ‘-h‘.

$ screenfetch -h
Show screenFetch Options Use screenfetch at User Login

It would be a nice prank to use this script such that as soon as an user logs into the shell, the script run and output is displayed.

To perform the such task we must add the line below, as it is to the end of ~/.bashrc file.

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

After adding, above line, the ~/.bashrc file now looks like.

Show System Information at Login

Logout and again login to check if it is effective or not. What I got was.

Verify Information after Login Conclusion

The screenFetch is a very nice tool which works out of the box, the installation was a cake-walk and it is working without a single glitch even in the latest Debian testing. The current version is 3.5.0 which is still maturing gradually. The system information it shows as soon as an user logs into Bash Shell is glossy. This wonderful tool is worth trying and everyone of you must give it a try. It would be nice if we get the screen-shot of yours’ distribution.

That’s all for now. I’ll be here again with another interesting article very soon. Till then stay tuned and connected to Tecmint.com. Like and share us, help us get spread. Don’t forget to provide us with your valuable feedback in the comment section below.

Ref From: tecmint
Channels: screenfetch

Related articles