which command is used to change group?

Answers were Sorted based on User's Feedback



which command is used to change group?..

Answer / swapna

"chgrp" command is used to change groups.

Is This Answer Correct ?    25 Yes 1 No

which command is used to change group?..

Answer / 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

which command is used to change group?..

Answer / lokesh210

U can use chown also,
chown user:group_that_owner_to_be_changed file_name

Is This Answer Correct ?    0 Yes 0 No

which command is used to change group?..

Answer / naveen kumar

"#groupmod" is the command to change the group.

Is This Answer Correct ?    1 Yes 7 No

which command is used to change group?..

Answer / shanthi

cd command is used to change the group

Is This Answer Correct ?    1 Yes 41 No

Post New Answer

More Unix Commands Interview Questions

Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

0 Answers  


What does the command '$ls | wc –l > file1' do?

0 Answers  


Which command is used to delete all files in the current directory and all its sub-directories?

0 Answers  


how will you convert a general file to a hidden file?

4 Answers  


How to display a file name which has zero bytes in size.

11 Answers   Polaris,






Give Command that will change the name of a directly from paypal to eBay

3 Answers   Alcatel, IBM,


Which command is used to kill the last background job?

0 Answers  


Enlist some filename manipulation commands in unix.

0 Answers  


How do I run a whois command?

0 Answers  


What is the difference between awk and grep?

0 Answers  


How to add content of one file into another file at the beginning

12 Answers  


Can you write a command to erase all files in the current directory including all its sub-directories?

1 Answers  


Categories