← 返回命令列表

Linux command

pfetch 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show system info

pfetch

Show with custom ASCII art

PF_ASCII="[arch]" pfetch

Show specific info fields

PF_INFO="[ascii title os kernel uptime]" pfetch

Disable colors

PF_COLOR=0 pfetch

Custom separator

PF_SEP=": " pfetch

说明

pfetch displays system information with ASCII art. It's a minimal, fast alternative to neofetch and screenfetch. The tool is a single POSIX shell script with no dependencies. It works on Linux, BSD, macOS, and other Unix-like systems. Configuration uses environment variables. Set PF_INFO to control displayed fields. Set PF_ASCII to use different distro logos. Output is colorful by default, suitable for screenshots and ricing. Colors can be disabled for logging or minimal environments. Detection covers many distributions, package managers, window managers, and desktop environments automatically. The minimal design prioritizes speed over features. It starts instantly compared to heavier alternatives.

FAQ

What is the pfetch command used for?

pfetch displays system information with ASCII art. It's a minimal, fast alternative to neofetch and screenfetch. The tool is a single POSIX shell script with no dependencies. It works on Linux, BSD, macOS, and other Unix-like systems. Configuration uses environment variables. Set PF_INFO to control displayed fields. Set PF_ASCII to use different distro logos. Output is colorful by default, suitable for screenshots and ricing. Colors can be disabled for logging or minimal environments. Detection covers many distributions, package managers, window managers, and desktop environments automatically. The minimal design prioritizes speed over features. It starts instantly compared to heavier alternatives.

How do I run a basic pfetch example?

Run `pfetch` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more pfetch examples?

This page includes 5 examples for pfetch, plus related commands for nearby Linux tasks.