Linux Command Line

Navigate the file system, manage files, and learn essential Linux commands in a simulated terminal.

Category: Programming · v1.0.0
Step 1 of 4

Step 1: Navigating the File System

The Linux command line (also called the terminal or shell) lets you interact with your computer using text commands. It's faster and more powerful than clicking through folders.

Here are the essential navigation commands:

pwd
Print Working Directory — shows your current location in the file system.
ls
List — shows files and folders in the current directory. Use ls -l for details.
cd <dir>
Change Directory — move into a folder. Use cd .. to go up one level.
mkdir <name>
Make Directory — creates a new folder with the given name.
$ pwd
/home/user
$ ls
documents  projects  downloads
$ cd documents
$ pwd
/home/user/documents

About This Lab

The command line is a developer's superpower. In this lab, you'll learn essential Linux/Unix commands by using a simulated terminal. Practice navigating directories, creating and editing files, searching text, and piping commands — all in your browser.

How It Works

  1. Read the explanation of each command category
  2. Type commands in the simulated terminal
  3. Press Enter or click Run to execute
  4. Explore the virtual file system
  5. Complete the quiz to test your knowledge