pwd
print name of current/working directory
1. pwd.1.man
Manpage of PWD
PWD
Section: User Commands (1)Updated: January 2008
Index Return to Main Contents
NAME
pwd - print name of current/working directorySYNOPSIS
pwd [OPTION]DESCRIPTION
Print the full filename of the current working directory.
- --help
- display this help and exit
- --version
- output version information and exit
NOTE: your shell may have its own version of pwd, which usually supersedes the version described here. Please refer to your shell's documentation for details about the options it supports.
AUTHOR
Written by Jim Meyering.REPORTING BUGS
Report bugs to <bug-coreutils@gnu.org>.COPYRIGHT
Copyright © 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl>This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
getcwd(3)The full documentation for pwd is maintained as a Texinfo manual. If the info and pwd programs are properly installed at your site, the command
- info pwd
should give you access to the complete manual.
Index
This document was created by man2html using the manual pages.
Time: 23:22:15 GMT, July 09, 2008
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: 23:22:15 GMT, July 09, 2008




