Bash: Hello world
A short, tested Bash example for hello world. Copy it and adjust the names and paths for your project.
Bash
#!/usr/bin/env bash
echo "Hello, World!"Make it executable with chmod +x hello.sh, then run ./hello.sh
Find it in Zest
Search for “bash hello world” in Zest and this example appears above the results, with other matches to choose from. Searches stay private.