What does WHO AM I do in Linux?
Answer
whoami is an basic Unix/Linux command
used to find username associated with current effective user id
. This is generally used to identify the current logged in user in a shell. This command is also useful in shell scripts to identify the user id from which the script is running.
Answer
whoami is an basic Unix/Linux command
used to find username associated with current effective user id
. This is generally used to identify the current logged in user in a shell. This command is also useful in shell scripts to identify the user id from which the script is running.