A simple digital clock built using Bash shell scripting.
It displays the current time and date in a colorful format, refreshing every second.
- Shows live time in HH:MM:SS format
- Shows current date in DD-MM-YY format
- Uses colors for better visibility
- Runs continuously until stopped
A simple Bash script that generates secure random passwords using OpenSSL.
- User-defined password length
- Secure random generation
- Lightweight and fast
bash password_generator.sh
automate_task.sh is a simple Bash script to automate basic system maintenance on Ubuntu/Debian-based systems. It updates the system, upgrades packages, installs Docker and displays the last 5 lines of system logs.
- Update and upgrade system packages
- Install Docker
- Display last 5 lines of
/var/log/syslog - Show start and end timestamps
- Give execute permission to the script:
chmod +x automate_task.sh ./automate_task.sh
This is a simple interactive signup simulation written in Bash.
It asks the user for a name, email, and password, and ensures the password is confirmed correctly.
- Interactive prompts for user input
- Password input hidden for security
- Password confirmation check
- Clear success/failure messages
- Give execute permission:
chmod +x signup.sh
./signup.sh
A simple Bash script that automatically deletes files older than a set number of days.
Keep your system clean and organized — effortlessly! ⚡
- Scans all files in the current directory
- Compares their last modified date
- Deletes files older than
4 days - Prints the deleted file names 🗑️
chmod +x auto_file_cleaner.sh
./auto_file_cleaner.sh✅Test safely before deleting:
echo "$file would be deleted"
