reworking content
All checks were successful
learn org at code.softwareshinobi.com/linux.softwareshinobi.com/pipeline/head This commit looks good

This commit is contained in:
2025-06-19 10:03:08 -04:00
parent 611d0816cc
commit 7d9171c854
192 changed files with 2234 additions and 2362 deletions

View File

@@ -0,0 +1,23 @@
# Bash Basics
To begin, create a new file with a `.sh` extension. We'll use `shinobi.sh` as our example.
You can create it instantly with `touch`:
```bash
touch shinobi.sh
```
Or, open it directly in your text editor:
```bash
nano shinobi.sh
```
For your script to execute, the very first line must specify the interpreter. This is called the Shebang. While `#!/bin/bash` instructs the operating system to use `/bin/bash`, its location can vary. For wider compatibility, use this:
```bash
#!/usr/bin/env bash
```
This tells the system to find `bash` within your `PATH` environment variable, ensuring your script runs consistently across different systems.