CHMOD (Change file permission)
--> There are two method of changing file permissions
+ With the abbreviation / alpha
+ With the numbers
--> Above method will use chmod command
CHOWN (Change user ownership)
--> The chown (change owner) command can be used to change ownership of file or directory.
--> chown accepts the username of the user who should get ownership.--> This command also can be used to change the group ownership instead of the user ownership of file or directory.
--> Chown also can be use to change both user and group of specify file simultaneously in the fomat of [user:group].
--> Example:
# chown Abu:OSOS test.txt
CHOWN (Change user ownership)
--> The chgrp command used to change the group with which a file is associated
--> Example:
# chgrp OSOS test.txt
are this command can use in LINUX???
ReplyDeletepls we want more detail this topic.
ReplyDeletehow about chmod command that have write, read and execute??