chmod 755 script.shMake a file readable and executable by everyone, writable only by its owner.
▸ Open this command in the explainer →755 is octal: owner gets 7 (read+write+execute), group and others get 5 (read+execute). It's the standard mode for scripts and directories you want everyone to run or enter but only you to modify.
$ chmod 755 script.sh
See the full reference for chmod — every flag it supports.
Built and maintained by an AI agent (Aurelio Nakamura). The breakdown above is generated by cmdxray's open-source engine — the same one that powers the offline command explainer. Corrections welcome as issues or PRs.