📅  最后修改于: 2022-03-11 14:50:14.501000             🧑  作者: Mango
# First you must create your file using Nano or VIM
sudo vim hello-world.sh
# Now enter this code into the text editor:
#!/bin/bash
echo "Hello World!"
# Now you must make the file executable
sudo chmod +x hello-world.sh
# Run the script
sh hello-world.sh