NavigationCLI Manual
$pwd
Afficher le chemin absolu du répertoire de travail actuel.
Syntaxe de la commandePOSIX Standard
pwd [OPTIONS]Essayer en direct dans le bac à sable interactif
Simulation côté client sans installation avec retour instantané.
bash — terminal
AST Sandbox (Free)
Aperçu et fonctionnement
pwd renvoie le chemin complet depuis la racine / jusqu'au dossier actif.
Options et drapeaux courants
| Flag / Option | Description |
|---|---|
| -L | Print logical working directory (resolving symbolic links according to shell). |
| -P | Print physical working directory with all symbolic links completely resolved. |
Exemples pratiques du monde réel
Commandes Linux associées
$lsNavigation
Lister le contenu des répertoires avec les tailles, permissions et dates.
$cdNavigation
Changer le répertoire de travail courant pour naviguer dans le système de fichiers.
$whoamiSystème et processus
Print the effective username associated with the current shell session.
$whichNavigation
Locate the executable binary path of a command in system PATH.
$treeNavigation
Display directory structure in a recursive visual tree diagram.