summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2020-11-17 12:04:29 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2020-11-17 12:04:29 +0000
commitdda1987fe5dbf418b55195990896b0ef0a5b8e4a (patch)
treed03241fc04a17cc5be030087231ae787a0ceacd9 /usr.bin
parent5b58b1aaf8c4aa39f5b9b42862e810ceeba94041 (diff)
downloadsrc-test2-dda1987fe5dbf418b55195990896b0ef0a5b8e4a.tar.gz
src-test2-dda1987fe5dbf418b55195990896b0ef0a5b8e4a.zip
Add an example for the -s flag
MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=367759
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/chpass/chpass.16
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/chpass/chpass.1 b/usr.bin/chpass/chpass.1
index ccccd2eaaed7..0e792df5eada 100644
--- a/usr.bin/chpass/chpass.1
+++ b/usr.bin/chpass/chpass.1
@@ -455,6 +455,12 @@ temporary copy of the password file
.It Pa /etc/shells
the list of approved shells
.El
+.Sh EXAMPLES
+Change the shell of the current user to
+.Ql /usr/local/bin/zsh :
+.Bd -literal -offset indent
+chsh -s /usr/local/bin/zsh
+.Ed
.Sh SEE ALSO
.Xr finger 1 ,
.Xr login 1 ,