Как создать сценарий Raspberry Pi
# 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
Anthony Smith