Skip to content

prasannabarge/Shell-scripting-for-DevOps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐚 Bash Scripting Practice

This repository contains my Bash scripting practice programs and some mini projects.
I am learning Bash from the basics and building practical scripts step by step.


📘 Topics Covered

  • Hello World Program
  • For Loop
  • While Loop
  • Command Line Arguments
  • If-Else
  • If-Elif-Else
  • Functions

🛠️ Practice Scripts

  • helloprogram.sh → First Bash script (Hello World)
  • forloop.sh → Iterating using for loop
  • whileloop.sh → Iterating using while loop
  • arguments.sh → Handling command-line arguments
  • if-else.sh → Conditional statements (if-else)
  • if-elif-else.sh → Conditional statements (if-elif-else)
  • functions.sh → Using functions in Bash

🚀 Mini Projects

  1. Hello_System.sh → Prints system information with a welcome message
  2. Disk_Usage.sh → Checks disk usage and alerts if usage is high
  3. Backup_File.sh → Creates a backup of files/folders

📌 How to Run

chmod +x scriptname.sh
./scriptname.sh

About

This repository contains my Bash scripting practice programs and mini projects. It covers basics like loops, conditionals, arguments, and functions, along with projects such as system info, disk usage monitoring, and file backup automation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages