pwd
Afficher le nom du répertoire de travail en cours.
1. pwd.1.man
Manpage of PWD
PWD
Section: Manuel de l'utilisateur Linux (1L)Updated: 2 Janvier 1997
Index Return to Main Contents
NOM
pwd - Afficher le nom du répertoire de travail en cours.SYNOPSIS
pwdpwd {--help,--version}
DESCRIPTION
Cette page de manuel documente la version GNU de pwd ([NDT] pwd = Print Working Directory).pwd affiche le nom complet du répertoire en cours.
Ceci signifie que tous les composants du chemin affiché seront de vrais répertoires, aucun lien symbolique ne sera présent.
Remarquez que la plupart des shells Unix disposent d'une commande pwd intégrée ayant les mêmes fonctionnalités. Ainsi la simple évocation de pwd exécutera généralement la version intégrée, et non pas celle documentée ici.
OPTIONS
- --help
- Afficher un message d'aide sur la sortie standard et terminer normalement.
- --version
-
Afficher un numéro de version sur la sortie standard et terminer normalement.
TRADUCTION
Christophe Blaess, 1997.
Index
This document was created by man2html using the manual pages.
Time: 11:41:07 GMT, February 18, 2010
2. pwd.9.man
Manpage of pwd
pwd
Section: Tcl Built-In Commands (n)Updated:
Index Return to Main Contents
NAME
pwd - Return the absolute path of the current working directorySYNOPSIS
pwdDESCRIPTION
Returns the absolute path name of the current working directory.
EXAMPLE
Sometimes it is useful to change to a known directory when running some external command using exec, but it is important to keep the application usually running in the directory that it was started in (unless the user specifies otherwise) since that minimises user confusion. The way to do this is to save the current directory while the external command is being run:-
set tarFile [file normalize somefile.tar] set savedDir [pwd] cd /tmp exec tar -xf $tarFile cd $savedDir
SEE ALSO
file(n), cd(n), glob(n), filename(n)KEYWORDS
working directory
Index
This document was created by man2html using the manual pages.
Time: 11:41:07 GMT, February 18, 2010






