Set permissions with an octal mode
Replaces the permissions of the file with the octal mode, such as 644 for owner write and read for everyone.
chmod 644 fileEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/chmod.md), licensed under CC BY 4.0.