Printing and PDF export are disabled for this content. View it online at Full Stack Learning Simplified.
Linux Terminal and Shellπ± Beginner
The Command Line Interface (CLI) is your primary weapon on a Linux server. Because servers don't have screens or mice, you navigate entirely by typing text commands into a terminal shell (typically bash or zsh).
What is the Shell?
The Shell is a program that takes the text commands you type, interprets them, and passes them to the Linux OS to execute. It acts as the ultimate bridge between the human and the machine.
Why is the File Tree Different?
Windows splits your hard drives into letters (C:, D:). Linux unifies everything into a single, massive tree. The absolute top of the system is called the Root directory, represented by a simple forward slash /.
How to Navigate
Here are the fundamental commands for moving around a Linux server:
bash
# Print Working Directory (Tells you exactly where you are)
pwd
# Output: /home/alice
# List the contents of the current folder
ls
# Output: Documents Downloads server.js
# Change Directory (Navigate into the Documents folder)
cd Documents
# Change Directory (Move UP one level back to the parent folder)
cd ..
# Change Directory (Instantly jump back to your personal home folder ~)
cd ~Pro Engineering Tip: The absolute most important button on your keyboard when using a Linux terminal is the TAB key. If you type
cd Doc and press TAB, Linux will auto-complete it to cd Documents/, saving you thousands of keystrokes and preventing typos.Free preview. Sign in and subscribe to unlock all 982 lessons across 31 courses.
Free preview Β· Β© 2026 Full Stack Learning Simplified