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

How i'll delete a particular line from the file? Please give answer as soon as possible. Thanks in advance.

12 Answers   IBM,


How to find the files that are accessed before 10 minutes?

5 Answers   Amazon,


What is pipe command in unix?

0 Answers  


if we create a file, in that 10 rows(means 1,2,....9,10 like). i want 7 row exactly, which command use in unix? plz send this question.

28 Answers   TCS,


Which command is used to kill the last background job?

0 Answers  


What is merge command in unix?

0 Answers  


what does the command 'wc' do?

4 Answers  


what is the difference between pipe(|) and tee command..

3 Answers   Cap Gemini, Rolta,


what is mount ,tell me about mount ,how can u use in real time project??

12 Answers   Symphony,


how will you convert a general file to a hidden file?

4 Answers  


How do you stop a running process?

7 Answers  


Explain ‘library functions’ with respect to unix commands?

0 Answers  


Categories