$ cd ~/files
$ mkdir myproject
$ touch readme
$ echo "Hello!" > readme
$ cat readme

Terminal Recipes: Hands-On Practice

Follow step-by-step recipes to master real terminal workflows

Click any command to copy it to your clipboard, then paste it into the terminal on the right. Complete each recipe by following the steps in order.
1

Your First Project

Not Started

Create a folder, add a file, write content, and read it back.

1 cd ~/files Go to your files directory click to copy
2 mkdir myproject Create a project folder click to copy
3 cd myproject Navigate into it click to copy
4 touch readme Create an empty file click to copy
5 echo "Hello from my first project!" > readme Write content to file click to copy
6 cat readme Display file contents click to copy
7 ls List files in the directory click to copy
Lesson: The create, write, read cycle (touch, echo >, cat)
2

The Cleanup Challenge

Not Started

Learn that rm can't delete non-empty directories - you must clean them first.

1 cd ~/files Go to your files directory click to copy
2 mkdir testfolder Create a directory click to copy
3 cd testfolder Enter the directory click to copy
4 touch file1 Create a file click to copy
5 touch file2 Create another file click to copy
6 ls See both files click to copy
7 cd .. Go back up click to copy
8 rm testfolder Try to delete - ERROR! click to copy
9 cd testfolder Go back in click to copy
10 rm file1 Delete first file click to copy
11 rm file2 Delete second file click to copy
12 cd .. Go back up click to copy
13 rm testfolder Now it works! click to copy
Lesson: Directories must be empty before removal
3

Sharing Files

Not Started

Make a file public, verify with ls -l, then unshare it.

1 cd ~/files Go to your files directory click to copy
2 touch artwork Create a file click to copy
3 echo "This is my shared creation" > artwork Add content click to copy
4 ls -l Check permissions (private) click to copy
5 chmod a+r artwork Share publicly click to copy
6 ls -l artwork See "r" in permissions, name is cyan click to copy
7 link artwork Get the public URL (mytekOS command, not standard Linux) click to copy
8 chmod a-r artwork Unshare click to copy
9 ls -l artwork Back to normal click to copy
Lesson: Permissions control who can see your files
4

Deep Navigation

Not Started

Master nested directories, relative paths, and absolute paths.

1 cd ~/files Start in files click to copy
2 pwd Shows your current path click to copy
3 mkdir devwork Create a folder click to copy
4 cd devwork Enter it click to copy
5 mkdir website Create nested dir click to copy
6 cd website Go deeper click to copy
7 touch index Create a file click to copy
8 pwd See full nested path click to copy
9 cd .. Go up one level click to copy
10 pwd Now in devwork click to copy
11 cd ~ Jump to home click to copy
12 cd files/devwork/website Multi-level path click to copy
13 ls Shows index click to copy
Lesson: Relative paths (cd ..), home shortcut (cd ~), and multi-level paths
5

Network Detective

Not Started

Discover your network identity and trace internet connections.

1 whoami Shows your username click to copy
2 hostname Shows system name click to copy
3 myip Shows your IP address click to copy
4 ping google.com Test connectivity click to copy
5 traceroute google.com Trace internet path click to copy
6 ipgeo 8.8.8.8 Geolocate Google DNS click to copy
Lesson: Your computer's identity on the network
mytekOS Terminal
~
Loading...
Copied!
📄 filename
Loading...

Recipe Master!

You've completed hands-on terminal recipes covering file creation, navigation, permissions, and networking. Keep practicing to build muscle memory!

0
Recipes Completed
0
Commands Copied
0
Time Practicing

Create, Write, Read

touch creates files, echo > writes content, cat reads it back.

Cleanup Order Matters

Directories must be empty before you can remove them.

Permissions Control Access

chmod a+r shares files publicly, a-r makes them private again.

Paths Are Addresses

Use cd to navigate, pwd to check location, .. to go up, ~ for home.

Network Identity

whoami, hostname, myip, and ping reveal your network presence.

Ready to Create?

Put your new knowledge into practice!

Suggest a Correction