what is the UID and GID of root user? Can a normal user can
change the ownership of a file? what is the command to
change ownership of a file?
Answer Posted / amit kumar ghosh
"The UID & GID of root user are 0".
No, a normal cannot change the ownership even if it is the
owner of that file.
That cmd to change ownership.
#chown owner:groupowner filename.
Is This Answer Correct ? | 13 Yes | 3 No |
Post New Answer View All Answers
How do I remove a soft link in linux?
How do I find old commands in linux?
What does comm do and how to use it?
What command would you use to check how much memory is being used by linux?
How do you execute more than one command or program from a single command line entry?
How cp command works in linux?
Explain shift command of linux?
What is cpu in top command?
What is the command to check cpu speed in linux?
What does ls mean in linux?
How can we increase disk read performance in single command?
What is 9 in kill?
What is the difference between rmdir and rm r?
What would be the result of issuing the command cat phonenos?
Why do we use cmake?