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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Using unix command how to display no of records in oracle?

1124


What is the command to find hidden files in the current directory?

1152


What is the use of the tee command?

1063


What is the significance of the 'tee' command?

1146


What does touch command do in unix?

1355


What is the command to view process running?

1077


What's a command word?

1120


How do I use grep to find a file?

1072


what is the advaantage of each user having its own copy of the shell?

2513


What are the dos commands?

1207


What is nr in awk command?

1144


What are reported commands?

1084


What is pipe command in unix?

1243


What are some command words?

1095


Explain the steps that a shell follows while processing a command.

1178