linux/chmod

Change Permissions

Change file permissions

permissions
security

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