summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwiz <wiz@NetBSD.org>2008-03-25 10:50:34 +0000
committerwiz <wiz@NetBSD.org>2008-03-25 10:50:34 +0000
commit4f45e985603ecf9965eca3a64c5df84b4c59c134 (patch)
treed59b8fe18f37efe2b0aca862d9164189fe3e1022
parent26c9b457e8b50f36537c042aa5ad7083160b4140 (diff)
downloadbsdgames-darwin-4f45e985603ecf9965eca3a64c5df84b4c59c134.tar.gz
bsdgames-darwin-4f45e985603ecf9965eca3a64c5df84b4c59c134.tar.zst
bsdgames-darwin-4f45e985603ecf9965eca3a64c5df84b4c59c134.zip
Fix a tip: use pkg_info, not pkg_add to find out which executables
belong to a package.
-rw-r--r--fortune/datfiles/netbsd-tips6
1 files changed, 3 insertions, 3 deletions
diff --git a/fortune/datfiles/netbsd-tips b/fortune/datfiles/netbsd-tips
index adf70edb..ba8e3536 100644
--- a/fortune/datfiles/netbsd-tips
+++ b/fortune/datfiles/netbsd-tips
@@ -54,10 +54,10 @@ initial state with:
printf "\033c
%
If you installed a package, but don't know what the software is
-called or what executables, to run use the pkg_add with the -L
-switch to list the package's files and search for /bin:
+called or what executables to run, use pkg_info with the -L switch
+to list the package's files and search for /bin:
- pkg_add -L PACKAGE-NAME | grep /bin
+ pkg_info -L PACKAGE-NAME | grep /bin
%
A new user can be added by using the useradd tool with the -m switch
to create the home directory. Then set the password. For example: