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:

1
2
3
$ sudo apt install bastet # or sudo yum install bastet
## start the Tetris Game
$ bastet
$ sudo apt install bastet # or sudo yum install bastet
## start the Tetris Game
$ bastet
linux-bash-bastet Three Interesting/Fun BASH Commands animation BASH bash script BASH Shell games linux linux shell Ubuntu Windows Subsystem for Linux

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:

1
2
3
$ sudo apt install cmatrix # or sudo yum install cmatrix 
## start the cmatrix
$ cmatrix
$ sudo apt install cmatrix # or sudo yum install cmatrix 
## start the cmatrix
$ cmatrix
linux-bash-cmatrix Three Interesting/Fun BASH Commands animation BASH bash script BASH Shell games linux linux shell Ubuntu Windows Subsystem for Linux

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:

1
2
3
$ sudo apt install sl # or sudo yum install sl 
## start the Steam Locomotive
$ sl
$ sudo apt install sl # or sudo yum install sl 
## start the Steam Locomotive
$ sl
linux-bash-sl Three Interesting/Fun BASH Commands animation BASH bash script BASH Shell games linux linux shell Ubuntu Windows Subsystem for Linux

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) —

GD Star Rating
loading...
520 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

Leave a Reply