Skip to content

This repository contains my learnings of Bash-Shell Scripting

Notifications You must be signed in to change notification settings

lokeshdangii/Bash-Shell-Scripting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bash Scripting

This repository contains my learnings of Bash(shell) Scripting.

Welcome to my Bash Scripting Learning Journey repository! This is a personal collection of Bash programs and scripts that I've created while learning Bash scripting. Each program represents a different concept or topic that I've explored during my journey into Bash scripting.

Learning Topics

Throughout this learning journey, I've covered a variety of Bash scripting topics, including:

  • Variables and Comments
  • Reading User Input
  • Conditional Statements (If-Else, Case)
  • File and Directory Manipulation
  • Looping (WHILE, UNTIL, FOR, SELECT)
  • Working with Arrays
  • Functions and Scope (Local & Global Variables)
  • Script Input and Output
  • and more...

Programs Included

Below is the list of Bash Programs included in this repository:

Scripts Included

Below is the list of scripts I have made during my Learning Journey:

  1. Create a folder: A Script to create the required number of directories/folders having the date as the folder name.
  2. Find File in System: A script to search for a file within the Linux/Ubuntu-based system's directory structure.
  3. Find Files of the Same Type: This script identifies and lists all files of a given type in the specified path.
  4. Replace File Content: A script designed to replace specific content in a file.
  5. Docker Installation Script: Install Docker on an Ubuntu-based system using this script.

How to Use

To explore the scripts in this repository:

  1. Clone the repository to your local machine using

    git clone https://github.com/lokeshdangii/Bash-Shell-Scripting.git
    
  2. Navigate to the specific script directory using

    cd Bash-Shell-Scripting
    
  3. Make the script executable using

    chmod +x script-name.sh
    
  4. Run the script with

    ./script-name.sh
    

Feel free to examine the scripts, modify them, and experiment with your variations.

Contributions

While this repository primarily documents my learning journey, I welcome constructive feedback and suggestions. If you notice any improvements that can be made to the scripts or have insights to share, please feel free to open an issue or submit a pull request.

Contact

You can reach me via email at lokeshdangi1045@gmail.com or connect with me on LinkedIn.

Thank you for visiting my repository!

About

This repository contains my learnings of Bash-Shell Scripting

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages