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
Enumerate some of the most commonly used network commands in unix?
What does pipe () return?
What is grep command in unix with examples?
Is grep faster than awk?
Which command should you use to find the remaining disk space in unix server?
How do I search for a file in unix command?
Write a command to display a file’s contents in various formats?
What is difference between grep and find command in unix?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What is the unix command to confirm a remote host is alive or not?
Is command prompt unix?
How do I use nslookup?
What does the md command do?
What does this command do,"$more readme.txt“?
What does the metacharacter mean?