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 to delete entire records in unix ?

13 Answers   Cap Gemini,


Which command will you use to change the permissions on file?

7 Answers  


what does the job command do?

4 Answers  


When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?

3 Answers  


What is command substitution?

0 Answers  






How to know a process is a zombie or orphan process?

3 Answers   Perot Systems,


What is the difference between cat and more command?

0 Answers  


What command will change your prompt to myprompt?

0 Answers  


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

1 Answers   CSC,


what does a process mean?

7 Answers   Infosys,


in UNIX,How to copy file into directory?

5 Answers  


What is a bash command?

0 Answers  


Categories