Algorithms, Blockchain and Cloud

Three Interesting/Fun BASH Commands


This post shows you 3 interesting/fun BASH commands:

BASH Console Tetris Game

You can now play tetris game in Bash console. You would need to install this via:

$ sudo apt install bastet # or sudo yum install bastet
## start the Tetris Game
$ bastet

Playing the Tetris Game in BASH using bastet

Control the movement of Tetris blocks by the direction keys.

BASH CMatrix

This shows the Matrix animation. To install, run the following command:

$ sudo apt install cmatrix # or sudo yum install cmatrix 
## start the cmatrix
$ cmatrix

Show C Matrix Animation in Bash

This can be used as a cool screen saver.

Steam Locomotive in BASH

When you accidentally type “sl” instead of “ls”, you want something to cheer you up. You can install the Steam Locomotive via:

$ sudo apt install sl # or sudo yum install sl 
## start the Steam Locomotive
$ sl

A Steam Locomotive Animation in Bash

The sl command in Bash is a fun and whimsical command that stands for “Steam Locomotive.” When executed, it displays a small ASCII art animation of a train moving across the terminal screen. It’s often used as a playful Easter egg or as a way to prank unsuspecting users who mistype the ls command. However, it doesn’t serve any practical purpose beyond entertainment.

Do you have any other cools BASH stuffs? Share please, thank you.

BASH Programming/Shell

–EOF (The Ultimate Computing & Technology Blog) —

503 words
Last Post: Teaching Kids Programming - Reachable Nodes With Restrictions (Graph Theory, Union Find, Disjoint Set, Undirected/Unweighted Graph)
Next Post: Teaching Kids Programming - Reachable Nodes With Restrictions (Graph Theory, Iterative Depth First Search Algorithm, Undirected/Unweighted Graph)

The Permanent URL is: Three Interesting/Fun BASH Commands (AMP Version)

Exit mobile version