Skip to content

alb-gallego/shell-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bash-guide

Structure

1-Introduction

  • 1-Introduction.sh: Contains introductory scripts to get started with bash scripting.

2-Data_Types

Contains scripts demonstrating various data types in bash:

3-Conditionals

Contains scripts demonstrating conditional statements in bash:

4-Loops

Contains scripts demonstrating loops in bash:

  • 4.1-For.sh: Using for loops to iterate over lists and arrays.
  • 4.2-While.sh: Using while loops to execute code while a condition is true.
  • 4.3-Until.sh: Using until loops to execute code until a condition is true.
  • 4.4-Select.sh: Using select loops to create simple menus.

5-Functions

Contains scripts demonstrating functions in bash:

  • 5 -Functions.sh: Using functions introduction: how to declare it, how to call it, function parameters

How to Use

  1. Clone the repository:

    git clone <repository-url>
    cd shell-guide

Prerequisites

Bash or Zsh shell Basic understanding of shell scripting

Contributing

Feel free to submit issues or pull requests if you find any bugs or have suggestions for improvements.

About

Elemental bash guide

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages