Terminal Commands for Beginners: Build Your First Project
You have learned a handful of terminal commands one at a time. But knowing them separately is not the same as using them together to make something real. Let’s fix that today.
In this lesson we put it all together: we use a few simple terminal commands for beginners to build a small project from an empty folder. Four short commands, one whole project, built entirely by you.
To build your first project in the terminal, chain four commands in order: mkdir my-app creates a new folder, cd my-app moves you inside it, touch app.txt drops a fresh file in, and ls shows your work. Each command does one small job; together they create something whole.
Why does chaining terminal commands matter?
Think of building a small room. First you make the empty space. Then you walk inside it. Then you start adding furniture. Step by step, an empty space becomes a real place.
Your project works the same way. Each command does one tiny task. But stack them in the right order and you create a whole thing from nothing. That is exactly how real coding feels, and it is why these basic terminal commands for beginners are worth practising until they feel easy.
What are the commands I will use?
You have already met each of these in earlier lessons. Here they are doing one job each, in plain words:
mkdir my-app— make directory, which creates a brand new folder calledmy-app.cd my-app— change directory, which steps you inside that folder.touch app.txt— creates a fresh, empty file calledapp.txt.ls— list, which shows you everything sitting in the current folder.
None of these is new. The new skill is putting them in order so they build on each other.
How do I build the project step by step?
Open your terminal and type the commands one by one, pressing Enter after each line:
mkdir my-app
cd my-app
touch app.txt
ls
Here is what happens as you go. mkdir my-app makes the empty folder. cd my-app walks you inside it, so your next commands happen in the right place. touch app.txt adds a file. Finally ls lists what is there, and you should see your file:
app.txt
That is a whole project, made by hand. You stacked four commands and watched a folder with a file appear out of nothing.
Why does doing it yourself matter so much?
Because this is what coding actually feels like. Small commands, built into something bigger, one step at a time. When you typed that sequence and saw the result, you used a real developer skill, not a trick.
Every app, website and tool you have ever used started as someone making an empty folder and adding things to it. You just did the same thing. That is a genuine first step, and the more you practise these terminal commands for beginners, the more natural the bigger projects later in the course will feel.
What should I try right now?
Do not just read it — run it. Type mkdir my-app and press Enter. Then cd my-app to go inside. Then touch app.txt to drop in a file. Then ls to see your work come alive.
If you want to keep the streak going, this lesson sits inside the free Zero to AI Hero course, where we take you step by step from your very first command all the way to building real apps and AI agents. Next up is a full Level 2 review that ties every terminal move together.
Key takeaways
- Real projects are built by chaining simple terminal commands for beginners, one small job at a time.
mkdir my-appmakes a folder,cd my-appmoves you into it,touch app.txtcreates a file, andlslists what is there.- Order matters: each command sets up the next, the way you build a room before adding furniture.
- Typing the full sequence yourself is a real developer skill, not just theory.
- Keep practising, then move on to the Level 2 review to lock these moves in.
🚀 Take the full free course: Zero to AI Hero — learn to build with AI from scratch. New lessons daily, in Hindi & English.
Want to actually learn this?
151 free 2-minute lessons — from "what's a file?" to building with AI.
▶ Start the free course