Answer Posted / rhino
"chgrp" -- is the command used to change the group of a
file . Only the owner of a file can change its group, and
can only change it to a group of which he is a member.
chgrp -R testgrp .
change the ownership of this directory to group 'testgrp'
and everything inside of it (-R = recursive). The person
issuing this command must own all the files or it will fail
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Is grep faster than awk?
What is ‘ps’ command for?
What are file commands?
How do I search for text in vi?
Which unix command to make a new directory?
What does the md command do?
Differentiate cat command from more command.
How to use grep command to list find the records of a file containing 10 different strings?
What is the behavioural difference between cmp and diff commands?
What is grep command in unix with examples?
Which command is used to copy files?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What happens when we execute a unix command?
How many unix commands are there?
What is the difference between cat command and more command?