L
Linux Command Line
Navigate the file system, manage files, and learn essential Linux commands in a simulated terminal.
Programming
v1.0.0
24 uses
L
Linux Command Line
Esc
or
Ctrl+Shift+F
to exit
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
More Labs in Programming
J
JavaScript Variables & Types
ProgrammingExplore JavaScript variables, data types, and type coercion through interactive code exercises.
J
JavaScript DOM Manipulation
ProgrammingLearn to select, modify, and create HTML elements dynamically using JavaScript DOM methods.
G
Git Fundamentals
ProgrammingLearn the core Git workflow — staging, committing, branching, and merging through an interactive terminal simulator.