1.

What does print(os.geteuid()) print?(a) the group id of the current process(b) the user id of the current process(c) both the group id and the user of the current process(d) none of the mentioned

Answer» The correct option is (b) the user id of the current process

Explanation: os.geteuid() gives the user id while the os.getegid() gives the group id.


Discussion

No Comment Found