Nontoxic Commands

As you now know, all of this typing is easy enough, but in order to actually do something useful with your Terminal, you need to type commands—and there are more of them than you could ever hope or need to know. To get you started, we will begin with some commands that are easy to understand, nontoxic, and completely kitten-friendly.

$ whoami

There is no command as easy, safe, or even as seemingly useless, as whoami. Rather than help those with multiple-personality disorders discover who they are at any given moment, the whoami command simply tells you which user is currently logged in. Try it out by typing whoami after the $ and then pressing the ENTER key. Remember that commands are case sensitive.

The Terminal will now tell you ...

Get Ubuntu For Non-Geeks, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.