From 4f45e985603ecf9965eca3a64c5df84b4c59c134 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 25 Mar 2008 10:50:34 +0000 Subject: Fix a tip: use pkg_info, not pkg_add to find out which executables belong to a package. --- fortune/datfiles/netbsd-tips | 6 +++--- 1 file 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: -- cgit v1.2.3