Skip to content

austiantsev/bash-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bash DevOps Scripts

A collection of simple Bash scripts for basic system administration and automation tasks.

Scripts included

backup.sh

Creates a compressed archive of a specified directory and writes a log entry.

Features:

  • directory backup using tar
  • timestamped archive names
  • logging to file

disk_check.sh

Checks disk usage and warns if it exceeds a defined threshold.

Features:

  • monitors disk usage percentage
  • customizable threshold
  • suitable for automation (cron)

system_report.sh

Displays basic system information.

Features:

  • CPU usage
  • RAM usage
  • system uptime
  • log_cleaner.sh

Requirements

  • Linux system
  • Bash
  • Standard utilities: tar, df, awk, tr, free, uptime, find

Usage

Make scripts executable:

  • chmod +x *.sh

Run any script:

  • ./script_name.sh

About

mini bash scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages