Finding the currently logged-in user information

The whoami command is useful to find out the currently logged-in user for Travis CI account:

The whoami command reports packtci as we would expect.

Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.