who and whoami command in linux Who command – This command shows information about all users who are currently logged in to system. whoami command - This command sho…