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 can we increase disk read performance in single command in Linux?
What make install does?
what is the fastest way to enter a series of commands from the command-line in linux
How do you limit memory usage for commands?
What is difference between sh and bash?
What is iptables command in linux?
How will you suspend a running process and put it in the background?
What does cd do in linux?
How do I remove a soft link in linux?
The head command writes the how many lines of a file to screen?
Main configuration file and command used for NFS enabling exported directories and deamons?
Who unix commands?
What is $@ in bash?
How cp command works in linux?
How can you copy lines into the buffer in command mode?