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 / debasis behera
The UID & GID of root is zero i.e 0, normal user can't
change the ownership of a file of others, he can change the
ownership of his own file. To change a ownership of a file
is -
chown username filename
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
What is the difference between find and locate command in linux?
What is the use of man command in linux?
What does chmod 755 do?
How cp command works in linux?
How do I run a command in linux?
The ‘logout’ built in command is used to
How do you kill a process in linux?
How compile c++ program in cmd?
Explain about communication features in UNIX?
How do I run a script in linux?
What is cat command in linux?
What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc..?
How does case sensitivity affect the way you use commands?
How do you run command every time a file is modified?
How do I use nslookup in linux?