A collection of simple Bash scripts for basic system administration and automation tasks.
Creates a compressed archive of a specified directory and writes a log entry.
- directory backup using tar
- timestamped archive names
- logging to file
Checks disk usage and warns if it exceeds a defined threshold.
- monitors disk usage percentage
- customizable threshold
- suitable for automation (cron)
Displays basic system information.
- CPU usage
- RAM usage
- system uptime
- log_cleaner.sh
- Linux system
- Bash
- Standard utilities: tar, df, awk, tr, free, uptime, find
- chmod +x *.sh
- ./script_name.sh