simple-bash-scripts
A collection of simple Bash scripts
This is a collection of small, practical Bash scripts—the kind of command-line programs you'd run directly in your terminal. Think of it as a toolkit for common tasks you might want to automate, from simple file operations to system monitoring.
Bash is the language that runs in your terminal, and these scripts are meant to teach you how to write useful programs with it. Each script does one focused job: some display menus or colorful output, others handle file encryption or check your server's health, and a few are math utilities like a calculator or prime number checker. The scripts are grouped into categories—getting started, utilities, system administration, math, and image manipulation—so you can find what you're looking for.
The primary audience is someone learning to write shell scripts or someone who needs a quick, no-frills tool to run at the command line. For example, if you wanted to check how much disk space you're using, there's a script for that. If you need to back up a file to a remote server automatically, there's one for that too. You might also use these as starting templates—taking an existing script and tweaking it for your own needs. Some practical examples: a pomodoro timer to manage work sessions, a weather checker that knows your location, system health monitoring that alerts you if CPU usage gets too high, or a file encryptor to password-protect sensitive data before archiving.
What makes this repo approachable is that each script is standalone and relatively short. You don't need a complex setup—just copy a script and run it. The README gives you a clear list organized by use case, so whether you're a beginner learning the basics or someone looking for a specific utility, you can quickly find what you need and see how it's implemented.