pwd.1: replace /home with /sys in example

The default location for home directories is moving from /usr/home
to /home, and the /home symlink will no longer exist.  Switch to
another example that is in base, /sys.

Reviewed by:	fernape
Differential Revision:	<https://reviews.freebsd.org/D40204
This commit is contained in:
Mike Karels 2023-05-23 07:21:50 -05:00
parent 9a6a948128
commit 1082307434

View File

@ -32,7 +32,7 @@
.\" @(#)pwd.1 8.2 (Berkeley) 4/28/95 .\" @(#)pwd.1 8.2 (Berkeley) 4/28/95
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd October 24, 2020 .Dd May 22, 2023
.Dt PWD 1 .Dt PWD 1
.Os .Os
.Sh NAME .Sh NAME
@ -78,20 +78,20 @@ Logical current working directory.
Show current working directory with symbolic links resolved: Show current working directory with symbolic links resolved:
.Bd -literal -offset indent .Bd -literal -offset indent
$ /bin/pwd $ /bin/pwd
/usr/home/fernape /usr/src/sys/kern
.Ed .Ed
.Pp .Pp
Show the logical current directory. Show the logical current directory.
Then use Then use
.Xr file 1 .Xr file 1
to inspect the to inspect the
.Pa /home .Pa /sys
directory: directory:
.Bd -literal -offset indent .Bd -literal -offset indent
$ /bin/pwd -L $ /bin/pwd -L
/home/fernape /sys/kern
$ file /home $ file /sys
/home: symbolic link to usr/home /sys: symbolic link to usr/src/sys
.Ed .Ed
.Sh SEE ALSO .Sh SEE ALSO
.Xr builtin 1 , .Xr builtin 1 ,