Writing your first, basic bash shell script. Using any text editor create a file called helloworld.sh
, add the following code.
#!/bin/bash
echo "hello world"
Run your script:
bash helloworld.sh
Folder | Description |
---|---|
simplescripts | Basics of Bash Scripting |
tasks | Simple Bash tasks/challenges |
scripts | Sample Scripts |