Online Linux Terminal Logo
OnlineLinuxTerminal
NavigationCLI Manual

$cd

Wechseln Sie das aktuelle Arbeitsverzeichnis im Dateisystem.

BefehlssyntaxPOSIX Standard
cd [DIRECTORY]
Linux-Community2.4k Online

Tausche dich mit Linux-Nutzern aus, lerne Befehle und lade PDF-Cheatsheets herunter.

Live im interaktiven Terminal ausprobieren

Client-seitige Simulation ohne Installation mit sofortigem Feedback.

Im Vollbild-Terminal öffnen ↗
bash — terminal

Überblick & Funktionsweise

cd ist der zentrale Navigationsbefehl zum Wechseln zwischen Verzeichnissen unter Linux.

Wichtige Optionen und Flags

Flag / OptionDescription
~Navigate directly to the current user home directory (/home/user).
..Move up one level to the parent directory.
-Switch back to the previous working directory.
/Navigate to the root directory of the entire filesystem.

Praktische Anwendungsbeispiele

#1Navigate to the /etc configuration folder
cd /etc && pwd

Changes the active directory to /etc and prints the updated path.

#2Return to user home directory

Quickly returns to /home/user from any location.