Sometimes the shell scripts are required to run as the root user to perform some tasks with administrator privileges. Generally,…
Browsing: whoami
whoami is an basic Unix/Linux command used to find username associated with current effective user id. This is generally used…