diff --git a/src/rhcsa.md b/src/rhcsa.md index 33b6361..b6c6a14 100644 --- a/src/rhcsa.md +++ b/src/rhcsa.md @@ -291,7 +291,18 @@ sudo systemctl start myapp sudo systemctl start myapp.timer ``` +## Bash Scripting +### Basic Script +```bash +nano myscript.sh +``` + +> Note: Shebang is the first line of the script that tells the system which interpreter to use. +```bash +#!/bin/bash +echo "Hello, World!" +```