O'Reilly logo

Ubuntu For Non-Geeks, 3rd Edition by Rickford Grant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required