Hello, World
Here is a simple Bash script to print "Hello, world!":
#!/bin/bash
echo "Hello, world!"
Save this script to a file, for example, hello.sh
, and make it executable with the following command:
chmod +x hello.sh
Then, you can run the script using:
./hello.sh
Last modified: 25 November 2024