Aug 8, 2012

chown

chown stands for Change Ownership.
To change the ownership and group of files and directories

Change ownership of a single file

chown :

eg.
chown root:root message.txt

Change ownership of a directory and all sub files and directories

chown -R :

eg.
chown -R root:root photo

No comments:

Post a Comment