chmod—change the permissions mode of a file
chmod [ –fR ] mode filename...chmod [ugoa ]{ + | – | = }[ rwxlsStTugo] filename...
chmod changes or assigns the mode of a file. The mode of a file specifies its permissions and other attributes. The mode may be absolute or symbolic.
Example A.8.
1 chmod +x script.file 2 chmod u+x,g-x file 3 chmod 755 * |
EXPLANATION
|
Get UNIX® Shells by Example, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.