What is Chmod?
A command to change file and directory access permissions using numeric or symbolic notation.
Chmod modifies read (r=4), write (w=2), and execute (x=1) permissions for owner, group, and others. Numeric: chmod 755 file (owner=rwx, group=rx, others=rx). Symbolic: chmod u+x file (add execute for owner).
Common permissions: 644 (files — owner rw, others read), 755 (directories/scripts — owner rwx, others rx), 600 (private files — owner only). The -R flag applies recursively. Understanding permissions is fundamental to Linux security.