📌  相关文章
📜  如何创建脚本树莓派 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:14.501000             🧑  作者: Mango

代码示例1
# 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