updated notes
This commit is contained in:
@@ -291,7 +291,18 @@ sudo systemctl start myapp
|
|||||||
sudo systemctl start myapp.timer
|
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!"
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user