๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout Register Now โ†’
Menu

Categories

Linux Beginner

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.