Home / Linux / pfetch Linux and Unix hardware information tool

pfetch Linux and Unix hardware information tool

pfetch Linux and Unix hardware information tool

The neofetch command like utility written in a bash shell. The primary objective of neofetch is for use in screenshots to show different customers what working system or Linux distro you might be utilizing together with theme, icons, hardware config and extra. Now we have now one other tool referred to as pfetch. It is a fairly system information tool written in POSIX sh. Let us see how one can set up and use pfetch Linux and Unix hardware information tool.

Adblock detected 😱
My web site is made doable by displaying on-line commercials to my guests. I get it! Ads are annoying however they assist preserve this web site operating. It is tough to maintain the positioning operating and producing new content material when so many individuals block adverts. Please think about donating cash to the nixCraft through PayPal/Bitcoin, or turn into a supporter utilizing Patreon.

pfetch Linux and Unix hardware information script

From the venture web page:

The objective of this venture is to implement a easy system information tool in POSIX sh utilizing options constructed into the language itself (the place doable).

The supply code is very documented and I hope it can act as a studying useful resource for POSIX sh and easy information detection throughout numerous completely different working methods.

If something within the supply code is unclear or is missing in its clarification, open a problem. Sometimes you get too near one thing and you fail to spot the “bigger picture”!


Use the wget command on Linux or Unix to put in pfetch:
wget https://github.com/dylanaraps/pfetch/archive/master.zip
Use the unzip command or tar command to unzip the file named grasp.zip on Linux or Unix:
unzip grasp.zip
Install the file utilizing set up command:
sudo set up pfetch-master/pfetch /usr/native/bin/
ls -l /usr/native/bin/pfetch

Cloning git repo (alternate set up methodology)

One can strive the git command and clone the pfetch repo on macOS/BSD/Linux and Unix methods too:
git clone https://github.com/dylanaraps/pfetch.git
Install it:
sudo set up pfetch/pfetch /usr/native/bin/
ls -l /usr/native/bin/pfetch

Linux penguin A pretty system information tool written in POSIX sh


Now that pfetch put in, it’s time to run it. Simply kind:
pfetch Linux and Unix hardware running on Ubuntu

OS assist

  • Haiku
  • MacOS
  • Minix
  • Solaris
  • DragonflyBSD
  • FreeBSD
  • NetBSD
  • OpenBSD
  • Windows subsystem for Linux.
  • Various Linux disros comparable to Alpine Linux, Arch Linux, Ubuntu, CentOS, Debian, and extra.


You can management pfetch via shell atmosphere variables. For instance, simply present os, kernel and uptime, run:
PF_INFO="ascii title os host kernel uptime" /usr/native/bin/pfetch
Sample outputs:

         _    vivek@nixcraft-nuc02
     ---(_)   os     Ubuntu 18.04.three LTS
 _/  ---     host   NUC7i7DNHE J85489-204
(_) |   |     kernel 5.Zero.Zero-29-generic
    --- _/   uptime 6d 19h 41m


Overall it’s a little and pleasant system information tool written in POSIX sh. The code is absolutely documented very effectively. See venture dwelling web page right here for extra information and choices. If you want pfetch take a look at associated instruments:

Posted by: Vivek Gite

The creator is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a coach for the Linux working system/Unix shell scripting. Get the newest tutorials on SysAdmin, Linux/Unix and open supply matters through RSS/XML feed or weekly e mail e-newsletter.

About Agent

Check Also

Google Anthos Update Aims at AWS, Puts Azure in Crosshairs

Google Anthos Update Aims at AWS, Puts Azure in Crosshairs Google …

Leave a Reply

Your email address will not be published. Required fields are marked *