Linux chmod FAQ: Can you share some examples of the Unix/Linux chmod command? (Also written as, "How do I change permissions on Unix files and directories?")
The chmod command name stands for "change mode", and as that name implies, the chmod command is used to change the mode of Unix/Linux files.
I'll start with some simple Unix chmod command examples, then add some more details as we go along.
chmod - Make a script executable
The chmod command is commonly used to make a file "executable", like this: