Skip to content

Repository files navigation

SysAdmin-Scripts

A curated collection of Bash scripts designed for Linux system administration, focusing on automation, user management, and file permissions on Red Hat Enterprise Linux (RHEL) 9.6 Plow. This repository serves as a learning lab and portfolio for practical sysadmin tasks.

Bash RHEL Linux Vim GitHub Stars GitHub Issues Tests

📖 Overview

This repository contains Bash scripts developed to streamline system administration tasks on RHEL 9.6 Plow. Starting with foundational scripts, it aims to grow into a comprehensive toolkit for automation, user management, and system monitoring. Each script is documented with usage instructions and designed for clarity and reusability.

Table of Contents

🛠️ Prerequisites

  • Operating System: RHEL 9 (or compatible Linux distribution)
  • Shell: Bourn again Shell

Testing

  • Scripts are tested with Bats (Bash Automated Testing System).
  • Run locally: ./test/libs/bats-core/bin/bats tests/
  • Automated via GitHub Actions: See the Tests badge above for CI results.

🔧 Setup and Usage

  1. Clone the Repository:

    git clone https://github.com/KalharaBatangala/Bash-Script-Lab.git
    cd Bash-Script-Lab
  2. Make Scripts Executable:

    chmod +x *.sh
  3. Run a Script:

    ./hello.sh
    ./greet.sh
    ./math.sh
  4. Example Output:

    $ ./greet.sh
    Enter your name:
    Kalhara
    Welcome, Kalhara! You're the admin!

About

A collection of Bash scripts for Linux System Administration, focusing on automation, user management and other configurations on RHEL 9.6

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages