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
What would be the result of the command paste -s dog cat?
Which command reduces the size of a file?
What is the purpose output of cd command?
How do I find previous commands in linux?
How do you create a file?
How do I check cpu usage?
What is the difference between diff and cmp command in unix?
What does p mean linux?
Which command is used to review boot messages?
You wish to print a file ‘draft’ with 60 lines on a page. What command would you use?
What is phony in makefile?
How do I check disk space in bash?
What are the commands used in command prompt?
What is mkdir p?
What is $@ in shell?