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

How do I run a whois command?

0 Answers  


what is the advaantage of each user having its own copy of the shell?

0 Answers   BMC, CNS, DELL, Infosys,


How do you remove a crontab file?

6 Answers  


how to check a file system type

7 Answers   Wipro,


what is telnet?

6 Answers  






How to open a Database using Unix Command Please Do Reply

9 Answers   Cognizant, CTS,


how to make IGNITE-BACKUP in HP-UX?

4 Answers   HP,


what is kernel?

6 Answers  


distinguish between multi-tasking,multi-user,multi- processing and time sharing?

4 Answers   Infosys, Nikhil Construction,


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

0 Answers  


Differentiate cmp command from diff command.

0 Answers  


Which command should you use to find the remaining disk space in unix server?

0 Answers  


Categories