plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

pwd.1 (465B)


      1 .TH PWD 1
      2 .SH NAME
      3 pwd, pbd \- working directory
      4 .SH SYNOPSIS
      5 .B pwd
      6 .br
      7 .B pbd
      8 .SH DESCRIPTION
      9 .I Pwd
     10 prints the path name of the working (current) directory.
     11 .PP
     12 .I Pbd
     13 prints the base name of the working (current) directory.
     14 It prints no final newline and is intended for applications
     15 such as constructing shell prompts.
     16 .SH SOURCE
     17 .B \*9/src/cmd/pbd.c
     18 .SH SEE ALSO
     19 .I cd
     20 in
     21 .MR rc (1) ,
     22 .MR getwd (3)
     23 .SH BUGS
     24 .I Pwd
     25 is not provided.
     26 Unix already provides one.