pwd

Description

La commande pwd est très utilisé sur les systèmes Unix car elle a un fonction indispensable : connaître son emplacement dans l’arborescence. Dans un contexte d’utilisation elle permet de s’assurer que l’on ait bien situé là où on le voudrait ou tout simplement éviter de se « perdre ». Elle n’a pas d’options particulières.

Exemple

axel@solaris:/var/log$ pwd
/var/log

Man solaris de la commande pwd

User Commands                                              PWD(1)

NAME
 pwd - print name of current/working directory

SYNOPSIS
 pwd [OPTION]...

DESCRIPTION
 Print the full filename of the current working directory.

 -L, --logical
 use PWD from environment, even if it contains symlinks

 -P, --physical
 avoid all symlinks

 --help
 display this help and exit

 --version
 output version information and exit

 NOTE: your shell may have its own version of pwd, which usu-
 ally 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 pwd bugs to bug-coreutils@gnu.org
 GNU             coreutils             home             page:
 <http://www.gnu.org/software/coreutils/>
 General        help        using        GNU        software:
 <http://www.gnu.org/gethelp/>
 Report        pwd        translation         bugs         to
 <http://translationproject.org/team/>

COPYRIGHT
 Copyright O 2010 Free  Software  Foundation,  Inc.   License
 GPLv3+:      GNU      GPL     version     3     or     later
 <http://gnu.org/licenses/gpl.html>.
 This is free software: you are free to change and  redistri-
 bute  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

GNU coreutils 8.5    Last change: April 2010                    1

User Commands                                              PWD(1)

 info coreutils pwd invocation

 should give you access to the complete manual.

ATTRIBUTES
 See attributes(5) for descriptions of the  following  attri-
 butes:

 ___________________________________________
 |   ATTRIBUTE TYPE   |    ATTRIBUTE VALUE  |
 |____________________|_____________________|
 | Availability       |  file/gnu-coreutils |
 |____________________|_____________________|
 | Interface Stability|  Uncommitted        |
 |____________________|_____________________|

NOTES
 Source    for    GNU    coreutils    is     available     on
 http://opensolaris.org.

GNU coreutils 8.5    Last change: April 2010                    2

Articles en relation:

  • Pas d'articles en relations
laissez un commentaire !

*