Linux chown Command
Categories:
What is Linux chown Command?
In this tutorial we learn how to use chown command in Linux. chown command is chown - change file owner and group
chown Syntax
chown [OPTION]... [OWNER][:[GROUP]] FILE...
chown [OPTION]... --reference=RFILE FILE...
chown Examples
chown Command Manual / Help
We can use man
and info
command to see the manual page of chown command.
chown command also have --help
option to show list of options.
To open man page for chown command we can use command below. To exit man or info page you can press q
.
man chown
To open info page for chown command we can use command below.
info chown
To open help page from chown command we can run command below.
chown --help
Linux chown Command Source Code
You can find chown command source code from the folowing repositories:
- chown source code on GitHub
- chown source code on GNU Savannah cgit
- chown 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 chown in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.