chmod
say it: “CHUH-mod” /ˈtʃʌˌmɑd/
Changes a file's permissions.
What does chmod do?
chmod changes a file's permissions. +x makes a script runnable; numbers like 644 set all permissions at once.
chmod +x deploy.sh
chmod 644 notes.txt # owner read/write, others read
Level: Apprentice · More Unix terms at this level
Updated