Liangxu Linux
Jan 11, 2021 · Operations
How to Create and Run Executable Bash Scripts on Linux
This guide walks you through creating a .sh Bash script, adding a simple “Hello World” program, granting execute permission with chmod, and running it directly or via sh/bash, plus a practical backup script example that archives /var/log using tar.
Backup ScriptBashShell scripting
0 likes · 4 min read
