Conversational Penguin · Episode 1 · 17 minutes
Ask Before You Type
I install Claude Code on a fresh Ubuntu machine after reading the installer, use Claude as a tutor that isn’t allowed to run anything, catch it guessing, check it against the manual, and make one real change: renaming the machine.
The rule for the whole series: never run a command you can’t explain.
In this episode
The prompts, the commands, and one real change
Chapters
- 0:00Ask before you type (opens in a new tab)
- 0:38The goal (opens in a new tab)
- 1:59Why Linux? (opens in a new tab)
- 4:04The setup (opens in a new tab)
- 5:00Meet Claude: read the installer first (opens in a new tab)
- 8:07First commands, with a tutor (opens in a new tab)
- 10:08Everything is a file, live (opens in a new tab)
- 11:11Check the tutor (opens in a new tab)
- 12:13A real change: rename the machine (opens in a new tab)
- 14:02Loose ends: three more checks (opens in a new tab)
- 15:10Recap, and your practice prompt (opens in a new tab)
Your practice prompt
Where does Linux keep the computer’s name, the list of user accounts, and the time zone? Show me how to look at each one, but don’t change anything.
A machine you’re allowed to break
- VirtualBox (opens in a new tab)
- UTM, for a Mac (opens in a new tab)
- WSL, for Windows (opens in a new tab)
- Ubuntu (opens in a new tab)
- Claude Code setup (opens in a new tab)
The terminal app is Chapar, an SSH app I made for iPhone and iPad.
The prompts
Type them into Claude Code, or into any AI chat in your browser.
- I’m brand new to Linux. Be my tutor: explain things simply, keep your answers short, and don’t run any commands. I’ll run them myself.
- What are the first three commands a beginner should learn, and what does each one do?
- Explain the output of ls -la line by line, like I’m brand new.
- Where does Linux keep this computer’s name? Show me how to look at it, but don’t change anything.
- And which file says which version of Linux this is?
- Rename this machine to atrium. Tell me the command, and which file it changes, before anything runs. Don’t run it yourself.
Commands from the episode
Every one is explained in the video before it runs. Read the first one before you run the second.
curl -fsSL https://claude.ai/install.sh | lesscurl -fsSL https://claude.ai/install.sh | bashwhoamipwdls -lacat /etc/hostnamecat /etc/os-releasels --help | grep -A 1 -e "-a, --all"sudo hostnamectl set-hostname atriumcat /etc/hosts
Transcript
Every word of the narration
Lightly edited for reading: paths and commands are written the way you’d type them. Claude’s answers are on screen in the video, word for word.
0:00 Ask before you type
This is a Linux machine. I’m not going to memorize a single command to change it. I’m going to ask. It told me the command, and the file it changes. I ran it myself. Then I opened the file. That’s the idea of this series. Talk to Linux in plain English, with an AI at your side, and understand every step. Welcome to Conversational Penguin.
0:38 The goal
I’m Hessam. I’ve spent twenty years in IT, from racking Linux servers in data centers to running infrastructure in the cloud. And in all that time, the hard part of Linux was never the ideas. It was the language: hundreds of commands, each with its own little grammar. That’s changing. Today you can describe what you want in plain English, and an AI can translate it into Linux. So here’s the goal of this series: by the end, you’ll set up and configure a Linux machine using natural language, with Claude, Anthropic’s AI, working right inside the terminal.
But there’s a catch, and it’s the whole point. You’ll learn enough Linux to check everything the AI tells you. The AI translates. You understand. You decide. So there’s one rule for the whole series: never run a command you can’t explain. If you can’t explain it, ask. That’s why this first episode is called Ask Before You Type. A quick note before we start: the voice you’re hearing is an AI clone of my own voice.
Claude’s answers are real, live in the terminal, and only trimmed for time.
1:59 Why Linux?
First, why Linux? Why not just ask an AI to drive a Mac or a Windows PC? Because Linux is built on a simple idea: everything is a file. The computer’s name is a file. The list of people allowed to log in is a file. The network settings, the services that start when it boots, the log of everything that happened today: files. Plain text files you can open and read.
Even the hardware shows up as files, and so does every program running right now. Now think about what an AI is good at: reading and writing text. Put the two together and you get an operating system an AI can read from top to bottom. Ask it a question in English, and the answer is usually a file it can open and show you. It’s also why Linux is everywhere.
It runs most of the servers behind the websites you use, and most of the cloud. Every Android phone runs on its kernel. Every one of the world’s five hundred fastest supercomputers runs Linux, and has for years. And the machines that train today’s AI run it too. So here’s my prediction. When anyone can talk to Linux in plain English, a lot of doors open. The home server you never got around to setting up.
The small business that can’t afford an IT team. The Raspberry Pi in a classroom. The old laptop that gets a second life. Not because the AI does magic, but because Linux was always just text, and text is now something we can have a conversation with. To be fair, Macs and Windows PCs have command lines and AI helpers too. But no other system keeps so much of itself in plain, readable files.
That’s what makes Linux the best place to learn this.
4:04 The setup
Here’s my setup. Ubuntu, a free and popular version of Linux, running in VirtualBox, a free program that runs a whole computer inside a window on my Mac. Anything I break in here stays in here. I connect to it with Chapar, an SSH app I made for iPhone and iPad. SSH lets you open a terminal on a computer somewhere else. It’s how most Linux servers are managed every day.
You don’t need my setup. On Windows, WSL installs Ubuntu in a few minutes. On a Mac, VirtualBox or UTM will do. Or rent a small cloud server for a few dollars a month. The links are in the description. The only requirement: practice on a machine you’re allowed to break.
5:00 Meet Claude: read the installer first
Now, the sidekick. Claude Code is a version of Claude that works inside the terminal. The official page gives you one line to install it. And here’s the first test of our rule. This line downloads a script from the internet and hands it straight to the shell to run. Can I explain what it does? Not yet. So before I run it, I’ll read it. I won’t read every line on camera, but the first screens answer my questions.
It refuses to run with sudo, the administrator’s power, and says why: Claude Code installs into your home directory and does not need root access. It names the address it downloads from, and the folder it downloads into, inside my home. It looks up a checksum, a fingerprint for the download. And it works out whether this is Linux or a Mac. That’s enough for me to explain what this line is going to do: download Claude Code from Anthropic into my home folder, with no administrator rights.
So now I’ll run it. Installed, into a folder in my home. One note at the bottom: that folder isn’t on my PATH yet, the list of places the shell looks for commands. On Ubuntu, a fresh login shell picks it up by itself, so I’ll start one. There it is. If your system can’t find the claude command, run the line the installer printed. To use Claude Code, you need a Claude subscription or an Anthropic API account.
I’m using mine. If you’d rather not, every prompt in this series also works in any AI chat in your browser. They’re all in the description. One more thing. Read the notice on its start screen: auto mode is now the default. Claude Code can run commands on this machine itself: it checks each one for risk, runs the ones it judges lower-risk, and blocks the rest. We’ll get to that later in the series.
Today I don’t want it to run anything. I want it to teach. So I’ll tell it that. It agrees. And look at the line above its answer: wrote two memories. It saved itself a note that I’m a beginner and that I run the commands. That note is a text file in my home folder. On Linux, even the AI’s memory is a file. Then it starts teaching before I’ve asked: three commands to try.
8:07 First commands, with a tutor
I came with my own first question, so let’s see whether the tutor agrees with itself. Interesting. A minute ago its three were pwd, ls and whoami. Now whoami is out and cd is in, and it tells me why. Ask an AI the same thing twice and you can get two answers. Here, both are reasonable. And notice the exercise it gives me: cd Documents. Hold on to that.
Inside Claude Code, I can run a command myself by starting the line with an exclamation mark. Claude sees the output, and answers it. Who am I? Student. Where am I? /home/student: my home folder. And after every answer, the tutor nudges me toward the next step. Thirteen entries, and it walks through every one. A name that starts with a dot is hidden. .bashrc holds my terminal’s settings. .ssh holds my keys, locked so only I can open it.
And .claude is where that note it just wrote lives. Only one name here, snap, has no dot. And here’s my first catch. Its exercise was cd Documents. Look at this listing: there is no Documents folder on this machine. I told Claude not to run anything, so it had never looked. It described a typical computer, not mine. We’ll try it at the end. But remember this: an AI that hasn’t looked is guessing.
10:08 Everything is a file, live
Now let’s test the big idea. If everything is a file, then the computer’s name should be in a file. There it is. The machine’s name is one word in a text file. Pretty name: Ubuntu 26.04.1 LTS. And Claude decodes it without being asked: released in April of 2026, first round of updates, long-term support. A file answered my question, and the tutor read it with me.
11:11 Check the tutor
Now the habit that makes this whole series work: checking the tutor. Claude told me that the a in ls -la shows hidden files. Every command carries its own manual, so let’s look it up. And my check comes back half empty. It found the option, but not what it does. Before I can even ask why, Claude answers: on this system the description sits on the next line, and here is how to ask for it.
The tutor just corrected the student’s homework. We’ll run its version before we finish. If the manual and Claude ever disagree, the manual wins. And when Claude gets something wrong on this show, you’ll see it. We never stage a mistake, and we never hide one.
12:13 A real change: rename the machine
Let’s finish with a real change, the one from the start of the episode. One command. One file it changes: /etc/hostname, the same file we just read. And a warning I didn’t ask for: a second file, /etc/hosts, that this command does not change and that may still say sandbox. Check it before you start, Claude says. I have to admit something. I didn’t check it. I went straight for the command.
We’ll look at that file before we finish. I can explain the command, so I’ll run it myself. It starts with sudo: do this as the administrator. It will ask for my password, so I step out of Claude and type it at the shell. Nothing shows as I type the password. Claude told me to expect that. And when this command works, it prints nothing at all. So how do I know?
Claude gave me two ways to tell: the hostname command, and the prompt of a new terminal. So I open one. The prompt already says atrium. The hostname command says atrium. And the file, one word in one file, says atrium. I know exactly which file changed, and why. That’s configuring Linux in plain English.
14:02 Loose ends: three more checks
Now the step I skipped: the second file. There’s the old name, sandbox, still sitting in this file, exactly as Claude warned. One machine, two names, in two files. That’s a loose thread, and it’s where we start next time. Two more checks, because checking is the whole point. First, the exercise the tutor gave me before it had seen my machine. Plain ls shows one name, snap, just as Claude said it would.
And cd Documents: no such file or directory. On the listing, the tutor was right. On the exercise, it guessed. And last, Claude’s fix for my half-empty check of the manual. There’s the manual, in its own words: do not ignore hidden files, the files with names that start with a dot. The tutor and the manual agree.
15:10 Recap, and your practice prompt
So: one rule. Never run a command you can’t explain. One idea: in Linux, everything is a file. The machine’s name, its version, even the AI’s memory. That’s why an AI can read the whole machine. One real change, made by understanding it, not just by trusting it. And one lesson about tutors: an AI that hasn’t looked is guessing. So look. Your practice prompt is on screen and in the description.
Ask your AI where Linux keeps three things: the computer’s name, the list of user accounts, and the time zone. Then open each one yourself. Next time: Say It in English. We’ll start with that leftover line in /etc/hosts, and fix it by describing what we want. Then we’ll create, move and clean up files the same way, and you’ll see why the AI’s cleanup command is the one you read twice.
I’m Hessam. This is Conversational Penguin. See you in the terminal.
By email
Get new posts by email
Essays on technology and leadership, and the stories behind my apps and series: one email for each new post, and nothing else. Unsubscribe any time.