← 返回命令列表

Linux command

screenfetch 命令

文本

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

常用示例

Display system information

screenfetch

Take a screenshot

screenfetch -s

Use a specific distro's logo

screenfetch -D [arch]

Display without ASCII art

screenfetch -n

Display ASCII art only

screenfetch -L

Output in a format

screenfetch -p

Display with verbose error messages

screenfetch -v

说明

screenfetch is a bash script that displays system information alongside an ASCII representation of your operating system's logo. It fetches and displays details about the OS, kernel, uptime, packages, shell, resolution, desktop environment, window manager, theme, icons, font, CPU, GPU, and RAM. The tool is designed for creating screenshots that showcase system configurations, commonly used in the Unix customization ("ricing") community. It detects the running distribution or operating system and selects the appropriate ASCII art logo automatically. Screenfetch supports a wide variety of Linux distributions, BSDs, macOS, and other Unix-like systems. The output is highly customizable through command-line options and environment variables.

参数

-v
Verbose output for error checking
-o _'OPTIONS'_
Allows for setting screenshot options
-n
Do not display ASCII art
-N
Strip all color from output
-t
Truncate output based on terminal width
-p
Output in screenshot-friendly format
-s
Take a screenshot after displaying info
-c _string_
Set colors (string of 2 numbers 0-9)
-D _distro_
Set specific distro for detection override
-A _distro_
Set specific distro for ASCII art only
-L
Display ASCII art only (no system info)
-E
Suppress errors
-V
Display version and exit
-h
Display help and exit

FAQ

What is the screenfetch command used for?

screenfetch is a bash script that displays system information alongside an ASCII representation of your operating system's logo. It fetches and displays details about the OS, kernel, uptime, packages, shell, resolution, desktop environment, window manager, theme, icons, font, CPU, GPU, and RAM. The tool is designed for creating screenshots that showcase system configurations, commonly used in the Unix customization ("ricing") community. It detects the running distribution or operating system and selects the appropriate ASCII art logo automatically. Screenfetch supports a wide variety of Linux distributions, BSDs, macOS, and other Unix-like systems. The output is highly customizable through command-line options and environment variables.

How do I run a basic screenfetch example?

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

What does -v do in screenfetch?

Verbose output for error checking