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...


How can you change the owner or group of a file?



How can you change the owner or group of a file?..

Answer / hr@tgksolutions.com

The chown command is used to change the owner of a file or directory. For instance, chown newowner filename would change the file's owner to "newowner". If you want to change both the owner and the group simultaneously, you will use a syntax like chown newowner:newgroup filename. For altering only the group, the chgrp command is used. As with most UNIX commands, care should be taken with these tools, ensuring that ownership is only granted to trusted users.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

what is the shell for dos,nt operating systems?

1 Answers  


what is ls -ltd?

5 Answers   HCL,


Does cp command overwrite files?

0 Answers  


How do I use grep to find a file?

0 Answers  


What do chgrp command do?

0 Answers  


What is $0 bash?

0 Answers  


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

3 Answers   Perot Systems,


what does a process mean?

7 Answers   Infosys,


How does the user view the contents of a text file in UNIX?

9 Answers   IBM,


What are the dos commands?

0 Answers  


what is the use of "grep" command?

6 Answers   HCL,


What is {} in find command?

0 Answers  


Categories