Skip to content

NajmeM/DevOpsTest-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bash Scripting Exercises

Welcome to the Bash Scripting Exercises repository! This repository contains a collection of exercises to help you learn and practice Bash scripting. The exercises are organized into different subfolders, each focusing on a specific topic or concept in Bash scripting.

Table of Contents

Getting Started

To get started with these exercises, you'll need to have Bash installed on your system. Most Unix-like operating systems, including Linux and macOS, come with Bash pre-installed. If you are using Windows, you can use Git Bash or the Windows Subsystem for Linux (WSL).

Prerequisites

  • Bash (version 4.0 or higher)
  • Text editor (e.g., Vim, Nano, VS Code)

Cloning the Repository

Clone the repository to your local machine using the following command:

git clone https://github.com/NaghmeM/DevOpsTest-bash.git
cd DevOpsTest-bash

Repository Structure

The repository is structured as follows:

Exercises

Each exercise is a Bash script (.sh file) that you can run in your terminal. The exercises are designed to help you practice various aspects of Bash scripting, from basic commands to more complex scripting techniques.

Running an Exercise

To run an exercise, navigate to the appropriate folder and execute the script. For example, to run the first basic exercise:

cd basics
bash backup_to_s3

Exercise Descriptions

Each exercise script contains comments that describe what the script does and what you need to do. Make sure to read these comments carefully before modifying or running the script.

Contributing

We welcome contributions! If you have a new exercise to add or an improvement to an existing one, please fork this repository, create a new branch, and submit a pull request. Here are the steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b my-new-exercise).
  3. Commit your changes (git commit -am 'Add new exercise').
  4. Push to the branch (git push origin my-new-exercise).
  5. Create a new pull request.

Please make sure to follow the existing format and structure of the repository when adding new exercises.

License

This project is licensed under the Apache2 License - see the LICENSE file for details.

Happy scripting! If you have any questions or need further assistance, feel free to open an issue in this repository.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages