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

Which of the Commands delete the files from the /tmp directory, issued by non-root user?

657


Which command is used to terminate a process?

504


What is cat command in linux?

535


What is apple llvm?

546


How do I run a script in linux?

551






what is the fastest way to enter a series of commands from the command-line in linux

530


What is env command in linux?

512


How to root mirror in linux?

579


How can we increase disk read performance in single command?

562


What is parallel ssh?

544


What is c++ makefile?

541


How do I find command history in linux?

495


Why echo is used in linux?

572


Which command would you use to create a file system on a new hard drive?

581


Explain difference between swap partition and swap file?

501