Command
chmod
Explanation
chmod is used to change the file permissions. It changes the file permissions.
Examples
Set rwx for owner, rx for others
chmod 755 script.sh
Make file executable
chmod +x script.sh
chmod
chmod is used to change the file permissions. It changes the file permissions.
Set rwx for owner, rx for others
chmod 755 script.sh
Make file executable
chmod +x script.sh