Posted on
Getting Started

5 Fun Things You Can Do With Linux Bash

Author
  • User
    Linux Bash
    Posts by this author
    Posts by this author

Linux Bash (Bourne Again Shell) is incredibly versatile and fun to use. Here are 10 enjoyable things you can do with it.

Customize Your Prompt

Use PS1 to create a custom, colorful prompt that displays the current time, username, directory, or even emojis.

export PS1="\[\e[1;32m\]\u@\h:\[\e[1;34m\]\w\[\e[0m\]$ "

Play Retro Games

Install and play classic terminal-based games like nethack, moon-buggy, or bsdgames.

Make ASCII Art

Use tools like toilet, figlet, or cowsay to create text-based art.

echo "Hello Linux!" | figlet Figlet example use

Create Random Passwords

Generate secure passwords using /dev/urandom or Bash functions. tr -dc 'A-Za-z0-9' < /dev/urandom | head -c 16

Turn Your Terminal into a Weather Station

Use curl to fetch weather data from APIs like wttr.in.

curl wttr.in

enter image description here

Bash is a playground for creativity and efficiency—experiment with it, and you’ll discover even more possibilities!