Linux chmod Command
Categories:
What is Linux chmod Command?
In this tutorial we learn how to use chmod command in Linux. chmod command is chmod - change file mode bits
chmod Syntax
chmod [OPTION]... MODE[,MODE]... FILE...
chmod [OPTION]... OCTAL-MODE FILE...
chmod [OPTION]... --reference=RFILE FILE...
chmod Examples
chmod Command Manual / Help
We can use man
and info
command to see the manual page of chmod command.
chmod command also have --help
option to show list of options.
To open man page for chmod command we can use command below. To exit man or info page you can press q
.
man chmod
To open info page for chmod command we can use command below.
info chmod
To open help page from chmod command we can run command below.
chmod --help
Linux chmod Command Source Code
You can find chmod command source code from the folowing repositories:
- chmod source code on GitHub
- chmod source code on GNU Savannah cgit
- chmod source code on GNU Savannah gitweb
Related Linux Commands
You can read tutorials of related Linux commands below:
Summary
In this tutorial we learn how to use chmod in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.