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

Briefly, how do you install Oracle software on UNIX.

2 Answers  


What is the protocol for PING command?

1 Answers   IBM,


What is s and g in sed command?

0 Answers  


what is the difference between SED and GREP ? Which one is more better and why?

4 Answers   IBM,


What is use of sed command?

12 Answers   BitWise, Infosys, Reliance,






what is the difference between npar and vpar in HP-UX?

1 Answers   CSC,


How to display no of records in oracle using unix command?

0 Answers  


What is the use of cut command in unix?

0 Answers  


what are the different commands used to view the contents of a file?

5 Answers  


What will the following command do?

0 Answers  


If JFS file system is 100% full how we can increase the file system ?

3 Answers  


which command is used to stop a running process in unix?

8 Answers  


Categories