Visually set file permissions — toggle read/write/execute for owner, group, and others. Get octal, symbolic, and the full command
| 0 | --- | No permissions |
| 1 | --x | Execute only |
| 2 | -w- | Write only |
| 3 | -wx | Write + Execute |
| 4 | r-- | Read only |
| 5 | r-x | Read + Execute |
| 6 | rw- | Read + Write |
| 7 | rwx | Full permissions |
chmod u+x file — add execute for ownerchmod go-w file — remove write for group/otherschmod -R 755 dir/ — recursive