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