Page MenuHomeFreeBSD

D26862.id78486.diff
No OneTemporary

D26862.id78486.diff

Index: bin/pwd/pwd.1
===================================================================
--- bin/pwd/pwd.1
+++ bin/pwd/pwd.1
@@ -74,10 +74,30 @@
.El
.Sh EXIT STATUS
.Ex -std
+.Sh EXAMPLES
+Show current working directory with symbolic links resolved:
+.Bd -literal -offset indent
+$ /bin/pwd
+/usr/home/fernape
+.Ed
+.Pp
+Show the logical current directory.
+Then use
+.Xr file 1
+to inspect the
+.Pa /home
+directory:
+.Bd -literal -offset indent
+$ /bin/pwd -L
+/home/fernape
+$ file /home
+/home: symbolic link to usr/home
+.Ed
.Sh SEE ALSO
.Xr builtin 1 ,
.Xr cd 1 ,
.Xr csh 1 ,
+.Xr realpath 1 ,
.Xr sh 1 ,
.Xr getcwd 3
.Sh STANDARDS

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 27, 7:18 AM (12 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37362830
Default Alt Text
D26862.id78486.diff (648 B)

Event Timeline