Skip to content

ROssner/sysadmin-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🛠️ SysAdmin Scripts Toolkit

A collection of battle-tested shell scripts built and refined over 7 years of Unix/Linux system administration. Covers disk management, network diagnostics, system monitoring, backup automation, and user management.

📁 Structure

Directory Description
disk/ Disk usage reporting and log cleanup automation
network/ Connectivity checks and internal port scanning
monitoring/ System health checks and process watchdog
backup/ Incremental rsync backups and status reporting
user_management/ Bulk user provisioning from CSV

🚀 Usage

All scripts follow the same convention:

chmod +x script_name.sh
./script_name.sh --help

🖥️ Compatibility

Tested on: RHEL 7/8/9, CentOS 7/8, Ubuntu 18.04/20.04/22.04

⚙️ Requirements

  • Bash 4.0+
  • Standard GNU coreutils
  • rsync (backup scripts)
  • Root or sudo access (user management scripts)

📋 Script Index

Disk

Network

Monitoring

Backup

User Management

📄 License

MIT

🔧 Examples

# Disk report with custom threshold
./disk/disk_usage_report.sh --threshold 75 --output /tmp/report.txt

# Connectivity check with custom targets file
./network/check_connectivity.sh --targets-file ./network/targets.txt

# Backup with 14-day retention
./backup/rsync_backup.sh --source /data --dest /mnt/backups --retain 14

# Dry-run user creation
./user_management/bulk_user_create.sh --csv users.csv --dry-run

🤝 Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Make sure scripts pass shellcheck before submitting.

📦 Changelog

v1.0.0 (2026-04-01)

  • Initial release with disk, network, monitoring, backup, and user management modules
  • Full dry-run support across all destructive operations
  • POSIX-compatible, tested on RHEL 8/9 and Ubuntu 20.04/22.04

About

Battle-tested shell scripts for Linux/Unix system administration — disk, network, monitoring, backup & user management

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages