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 / v.balaviswanathan

The UID and GID of root user is O . Yes , if he is the
owner of a file or he has the permission to change .To
change the ownership of a file is
chown

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are bash scripts used for?

573


Which command is used to see the online manual?

610


What is devops model?

524


What could possibly be the problem when a command that was issued gave a different result from the last time it was used?

538


How do I navigate in cmd?

543






What is linux load average?

602


How do I find previous commands in linux?

543


What is the difference between cd and cd in linux?

514


What is env command in linux?

510


You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?

557


How use linux command line?

528


What is grep command?

529


How many cmd commands are there?

538


How lilo is useful in linux?

573


How do you ask politely?

534