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
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
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
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
- Three Interesting/Fun BASH Commands
- One Interesting Linux Command (Steam Locomotive in BASH)
- Simple Bash Function to Repeat a Command N times with Retries
- How to Extract a Domain Name from a Full URL in BASH?
- BASH Function to Compute the Greatest Common Divisor and Least Common Multiples
- BASH Function to Get Memory Information via AWK
- BASH Function to Escape Parameters Argument
- BASH Function to Check if sudo Available
- Full Permutation Algorithm Implementation in BASH
- BASH Function to Install Docker
- A Simple BASH Function/Script to Run a Command in Background
- BASH Script to Compute the Average Ping to a Domain
- A Bash Process Controller to Start, Stop and Restart an Daemon Program
- Linux BASH shell - Echo This if you get angry
- Bash SHELL, Chess Board Printing
–EOF (The Ultimate Computing & Technology Blog) —
loading...
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)