This repository is a beginner-friendly introduction to shell scripting with bash. It contains a few simple scripts that demonstrate the basic building blocks of shell programming.
- Writing and running your first shell script
- Using comments and printing output
- Declaring and using variables
- Taking input from the user
- 1_hello.sh - A basic script that prints a greeting message.
- 2_variable.sh - Demonstrates variables and built-in bash environment variables.
- 3_user_inputs.sh - Shows how to read user input and display it in a message.
Use the following command:
bash filename.shExample:
bash 1_hello.sh