How to use the command "pfetch" (with examples)

How to use the command "pfetch" (with examples)

The “pfetch” command is used to display system information in the form of ASCII art and various fields. It provides a visually appealing and concise way of viewing important system details.

Use case 1: Display the ASCII art and default fields

Code:

pfetch

Motivation: This use case is useful when you want to quickly view basic system information along with a visually pleasing ASCII art representation of your system.

Explanation: This command doesn’t require any additional arguments or environment variables. It simply runs the “pfetch” command without any modifications.

Example output:

                          `.--::--.`
                     `-/osssssssssso/.
                  `-/+ssssssssssssssss+/.
               `-:/+sssssssssssssssssssssso/-`
           .:/+osssssssssssssssssssssssssssssso/:.
       `-/+ossssyyyyyyyyyysssssssssssssssssssyyyyso/:.
    `-:+osyyyys+::--------:/sssssssssssssssyyyyyo////-`
 `-/oshhs/:-.````        `./ossssssssssssyyyyyyo:---`
`/-....--`       `::.` ``  ./osyhhhyyyyyyyyys+-`
                  `sNms.                          .-----:/:-.
                   sMMm.                        26-..-oo../N/
                   sMMm.                        -hs+:....sh:
                   sMMm.                 `-/++/.:ss-     :-`
                   sMMm.        `:/++/:-:/oysssoosys-     :-`
                   sMMm.    `.:+oyyssssssyysso+:.sys-     :-`
                   sMMm.-/oyssssso+:-.:oysso+.  `sys-.....:-`
                   sMMmhyssooosys-   -- .so:      /N
                   sMMm.   `.-/sys.  `  --        /N
                   sMMm.       -dNo``             /N
                   sMMm.       -dNo``             /N
                   sMMm.       -dNo``             /N
                   sMMm.       -dNo``             /N
                   +MMd`       -dMy`              sM+
                   `o/`        .o/.               .+:

Use case 2: Display only the ASCII art and color palette fields

Code:

PF_INFO="ascii palette" pfetch

Motivation: This use case is useful when you want to view just the ASCII art and the color palette used by “pfetch”. It provides a quick way to view the available colors.

Explanation: By setting the environment variable PF_INFO to “ascii palette”, we instruct “pfetch” to display only the ASCII art and the color palette fields. This option enables us to see the available colors and the corresponding ANSI escape codes used in the ASCII art.

Example output:

                          `.--::--.`
                     `-/osssssssssso/.
                  `-/+ssssssssssssssss+/.
               `-:/+sssssssssssssssssssssso/-`
           .:/+osssssssssssssssssssssssssssssso/:.
       `-/+ossssyyyyyyyyyysssssssssssssssssssyyyyso/:.
    `-:+osyyyys+::--------:/sssssssssssssssyyyyyo////-`
 `-/oshhs/:-.````        `./osssssss

Related Posts

How to use the command 'ppmtopict' (with examples)

How to use the command 'ppmtopict' (with examples)

The command ppmtopict is used to convert a PPM (Portable Pixmap Format) image to a Macintosh PICT (QuickDraw PICT) file.

Read More
How to use the command Set-Acl (with examples)

How to use the command Set-Acl (with examples)

The Set-Acl command is used to change the security descriptor of a specified item, such as a file or a registry key.

Read More
Git Command: git stripspace (with examples)

Git Command: git stripspace (with examples)

Trim whitespace from a file To trim whitespace from a file, you can use the following command:

Read More