PWD
Installé avec le paquet coreutils
Voir aussi : ln et realpath
Afficher la version de la commande pwd
/bin/pwd --version
ou
apt-cache policy coreutils
Afficher la position courante logique
pwd
ou
pwd -L
Afficher la position courante physique (chemin résolu)
pwd -P
ex :
# ln -s repsrc/ repdst # ls -lad repsrc repdst lrwxrwxrwx 1 root root 7 juil. 19 11:58 repdst -> repsrc/ drwxr-xr-x 2 root root 4096 juil. 19 11:58 repsrc # cd repdst # pwd /home/adminsys/repdst # pwd -P /home/adminsys/repsrc