Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

which command is used to change group?

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


Please Help Members By Posting Answers For Below Questions

What is difference between grep and find command in unix?

1276


What is the use of the tee command?

1151


Why is grep called grep?

1359


What is $0 bash?

1255


Write a command to kill the last background job?

1151


Write a command that will display files in the current directory, in a colored, long format.

1273


What does sed command do in unix?

1246


What are the unix commands?

1149


What does grep v do?

1098


How do I use grep to search for a file?

1101


What does grep v grep do?

1124


How to use grep command to list find the records of a file containing 10 different strings?

1193


Which unix command to make a new directory?

1189


Explain mount and unmount command.

1278


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

2317