Page MenuHomeFreeBSD

D26862.diff
No OneTemporary

D26862.diff

Index: head/bin/pwd/pwd.1
===================================================================
--- head/bin/pwd/pwd.1
+++ head/bin/pwd/pwd.1
@@ -32,7 +32,7 @@
.\" @(#)pwd.1 8.2 (Berkeley) 4/28/95
.\" $FreeBSD$
.\"
-.Dd October 5, 2016
+.Dd October 24, 2020
.Dt PWD 1
.Os
.Sh NAME
@@ -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
Fri, Feb 14, 6:35 AM (19 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16638555
Default Alt Text
D26862.diff (812 B)

Event Timeline