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


Please Help Members By Posting Answers For Below Questions

What are two functions the move mv command can carry out?

606


How do you sort cpu in top command?

540


Why bash is used in linux?

548


How do I run a script in linux?

545


How do I check my system performance?

573






Which command is used to delete a group?

560


How do I check my cpu cores?

532


How do I check my cpu speed?

525


How to write the output of a command to a file?

576


What is the command to delete a file linux?

530


What does f mean linux?

532


How do you create a file?

533


Brief about the command ff?

596


What is grep command?

529


State and explain about features of UNIX?

578