🎁 New User? Get 20% off your first purchase with code NEWUSER20 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.

Related Terms

RAID
Redundant Array of Independent Disks — a technology combining multiple physical drives into a single unit for performance, redundancy, or both.
Curl
A versatile command-line tool for transferring data using various network protocols, commonly used for API testing.
SELinux
Security-Enhanced Linux — a mandatory access control system that confines programs to minimum required privileges beyond standard file permissions.
Systemctl
The primary command for managing systemd services, including starting, stopping, enabling, and checking service status.
Journald
The systemd journal daemon that collects and stores log data from services, the kernel, and boot messages in a structured binary format.
Dmesg
A command that displays kernel ring buffer messages, useful for diagnosing hardware and driver issues.
View All Linux Terms →