Get the App
SLTechnology News&Howtos  ›  Development  › 

How to realize the Matrix effect under Linux

Shulou Source: shulou.com Published: 2022-06-01 23:54:46 11月14日 Update

This article mainly explains "how to achieve Matrix effect under Linux". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to achieve the Matrix effect under Linux.

If you want to achieve the Matrix effect under Linux, you can use the command cmatrix. The function of cmatrix is to let the terminal display scrolling text like the Matrix.

Concrete steps

Source code installation cmatrix

1. Create the / usr/local/temp directory mkdir-p / usr/local/temp2. Enter the / usr/local/temp directory cd / usr/local/temp3. Put the cmatrix installation package in / usr/local/temp4. Decompress the source code package tar-xvf cmatrix-1.2a.tar.gz5. Enter the / usr/local/temp/cmatrix-1.2a directory cd cmatrix-1.2a6. Install the dependency package and the compilation tool yum install-y ncurses-devel gcc* make7. Test. / configure8. Compile make9. Install the make install test

Enter cmatrix-b to see the effect

Cmatrix common command cmatrix-a: asynchronous scrolling (default) cmatrix-b: random bold cmatrix-B: all bold cmatrix-o: use old style scroll cmatrix-x: X window mode cmatrix-V: display version information cmatrix-u: refresh frequency, 0-9, that is, the speed of scrolling cmatrix-C: the color displayed Support green (default), red,blue,white,yellow,cyan,magenta and black for example: using red cmatrix-b-C red using blue cmatrix-b-C blue

Tip: man cmatrix can view the introduction of cmatrix

At this point, I believe you have a deeper understanding of "how to achieve Matrix effect under Linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Effects hackers Matrix Empire directories content commands source code learning compiling practical deeper that is functions information interests practicality actually tools. Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Technology Redmi macOS MySQL