← 返回命令列表

Linux command

cmatrix 命令

趣味

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

常用示例

Display the Matrix

cmatrix

Use bold characters

cmatrix -b

Use a specific color

cmatrix -C [green]

Enable asynchronous scrolling

cmatrix -a

Adjust the scrolling speed

cmatrix -s -u [2]

Display using rainbow colors

cmatrix -r

说明

cmatrix is a terminal-based program that simulates the iconic digital rain effect from the Matrix movie series. It displays scrolling green characters falling down the screen, creating a visual effect reminiscent of the film's representation of the Matrix's code. The program is primarily used for aesthetic purposes, as a screensaver, or simply for entertainment. It can be customized with various colors, speeds, and display modes to suit user preferences.

参数

-a
Enable asynchronous scrolling mode
-b
Bold characters on
-B
All bold characters (overrides -b)
-f
Force the Linux $TERM type to be used
-l
Linux mode (uses matrix console font)
-o
Use old-style scrolling
-h
Print usage and exit
-n
No bold characters (overrides -b and -B)
-s
Screensaver mode, exits on first keystroke
-x
X window mode, exits on each keypress if run in a X terminal
-V
Print version information and exit
-u _delay_
Screen update delay (0-9, default 4)
-C _color_
Use specified color (green, red, blue, white, yellow, cyan, magenta, black)
-r
Rainbow mode
-m
Lambda mode (display lambda instead of characters)

FAQ

What is the cmatrix command used for?

cmatrix is a terminal-based program that simulates the iconic digital rain effect from the Matrix movie series. It displays scrolling green characters falling down the screen, creating a visual effect reminiscent of the film's representation of the Matrix's code. The program is primarily used for aesthetic purposes, as a screensaver, or simply for entertainment. It can be customized with various colors, speeds, and display modes to suit user preferences.

How do I run a basic cmatrix example?

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

What does -a do in cmatrix?

Enable asynchronous scrolling mode