What chmod +x does
chmod +x script.sh: Make a file executable so you can run it like a program.
The chmod command page covers what it does in general, with an example.
chmod+xscript.sh
chmod— command — change who may read, write or run a file+x— permission change: + adds, - removes; r = read, w = write, x = run (u/g/o say for whom, everyone if left out)script.sh— argument: a file, a folder, or text
What it does when you run it
$ chmod +x script.sh $ ./script.sh hi
Run it yourself
The same files. Nothing here can break, and nothing leaves your browser.
Where you use it
Explain other commands
Written by Mikhail Kuzmitskii