Online Linux Terminal Logo
OnlineLinuxTerminal
← All CommandsPermissions

$chmod

Change file permissions mode bits for owner, group, and others.

Sponsored AdvertisementAdSense Slot (banner)
Command Syntax
chmod [OCTAL|MODE] FILE

Try `chmod` Live in Terminal

bash — terminal

Overview & Usage Details

chmod alters access permissions of files. Modes can be specified numerically using octal numbers (e.g., 755 or 644) or symbolically.

Command Options & Flags

Option / FlagDescription
755Read, write, execute for owner; read and execute for group/others.
644Read and write for owner; read-only for group/others.
Sponsored AdvertisementAdSense Slot (leaderboard)