Linux · Lesson 6 of 120
Your First Commands
Who, where and when.
Let's type some real commands. We'll start with the simplest ones there are. Each one asks the computer a small question, and prints the answer.

- Real commands
- The simplest ones
- Small questions, short answers
Who, where, and when
First, who am I. Type who am I, as one word, and Linux prints your username. Our user is called Sam. Next, hostname prints the computer's name, laptop. And date prints the date and time. Three questions, three answers.
Terminal
whoami sam hostname laptop date Mon Jan 5 09:00:00 UTC 2026
A friendly calendar
Here's a fun one. Cal prints a calendar of this month, with today in it. Commands are just short names for small programs. You type the name, and the program runs.
Terminal
cal January 2026 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Summary
Who am I, hostname, date, and cal. You just ran your first Linux commands. Next, let's understand the prompt, the text before every command.
Key takeaways- whoami
- hostname
- date and cal
Next up: Reading the Prompt — who and where you are