Skip to content
masterclass Buddy

Linux & Shell · Command

chmod

chmod changes file permission bits. Use symbolic modes for selected changes or octal modes to set a complete permission pattern.

Last updated

Syntax

chmod [ OPTION ]... MODE [ ,MODE ]... FILE ...
chmod [ OPTION ]... OCTAL-MODE FILE ...
chmod [ OPTION ]... --reference=RFILE FILE ...

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • chmod(2)
  • umask(1p)
  • ls(1p)
  • find(1p)

Source: chmod(1) - Linux manual page. Checked 2026-11-03.