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
What do chmod command do?
What is “chmod” command?
Enumerate some of the most commonly used network commands in unix?
What is awk good for?
Using unix command how to display no of records in oracle?
How can you see the command line history?
Are you in or at the office?
Which unix command to make a new directory?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What does the “echo” command do?
What is ctrl d?
What will the following command do?
What does find command return in unix?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is the first character of the output in ls l command?