Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110071227
D26862.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
812 B
Referenced Files
None
Subscribers
None
D26862.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D26862: pwd(1): Add EXAMPLES section
Attached
Detach File
Event Timeline
Log In to Comment