Commandes bash fun
Apparence
🟢 cmatrix
Effet Matrix dans le terminal
- Description : Affiche une animation inspirée du film Matrix, avec des caractères verts qui tombent en cascade.
- Utilisation :
bash cmatrix - Options utiles :
-s: mode “slow scroll”-b: fond noir-u: vitesse (ex.-u 5)
cmatrix
cmatrix -b -r -u5 -s
cmatrix -o
🕒 tty-clock
Horloge numérique dans le terminal
- Description : Affiche une horloge en grand format dans le terminal, idéale pour les dashboards ou les écrans d’attente.
- Utilisation :
bash tty-clock - Options utiles :
-s: affiche les secondes-c: centre l’horloge-C <couleur>: change la couleur (ex.-C 4pour bleu)
tty-clock -scrSB
ou
tty-clock -sScC 1
🐱 nyancat
Animation du célèbre mème Nyan Cat
- Description : Affiche une version ASCII animée du mème Nyan Cat dans le terminal.
- Utilisation :
bash nyancat - Remarque : Nécessite une connexion réseau pour certaines versions (client/serveur).
nyancat
🐄 cowsay
Fait parler une vache (ou autre personnage) en ASCII
- Description : Affiche un message dans une bulle de dialogue avec une vache ASCII.
- Utilisation :
bash cowsay "Bonjour John !" - Options utiles :
-f tux: change le personnage (ex. Tux, dragon, etc.)- Combinez avec
fortunepour des messages aléatoires : ```bash fortune | cowsay
cowsay "Hello, World!"
ou
cowsay -f dragon "I am a dragon! RAWR!"
qrencode
Génère un QR code en terminal.
echo "https://example.com" | qrencode -t ANSI
Ecran de hacker
sudo apt install hollywood
Inverse un text
echo "un texte" | rev
Dé de 1 à 6
echo $((1 + RANDOM % 6)) # Dé entre 1 et 6
Compte à rebours
for i in {5..1}; do echo "$i..." && sleep 1; done; echo "Boom!"
Fake "hacking"
cat /dev/urandom | hexdump -C | grep 'ca fe'
Star Wars ASCII
telnet towel.blinkenlights.nl
Magic 8-Ball
answers=("Oui" "Non" "Peut-être" "Demande plus tard")
echo "${answers[$((RANDOM % 4))]}"
Factorise un nombre
factor 42 # Affiche "42: 2 3 7"
Un train qui traverse ton terminal (quand tu fais une faute de frappe sl au lieu de ls)
sl
ou avec une aide
sl -a