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
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What are awk commands?
What does the command '$ls | wc –l > file1' do?
What difference between cmp and diff commands?
What does grep v grep do?
Is grep faster than awk?
What are the unix commands?
How do I clear my terminal history?
Enumerate some of the most commonly used network commands in unix?
Name the unix command to find how many days the server has been up.
Enlist some filename manipulation commands in unix.
What are the commands in UNIX to list the files in a Directory?
What is the difference between cat command and more command?
What command is used to switching between users in unix?
What is nr in awk command?