summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreed <reed@NetBSD.org>2008-03-21 21:45:30 +0000
committerreed <reed@NetBSD.org>2008-03-21 21:45:30 +0000
commit1a72f9140767ce0c716624bfb01aa03158fcd5ec (patch)
tree4687c65b3452a57cc87c9f642becd3c2d21eecd6
parent4813e284c669aa2f2612237e6f0102865d14df65 (diff)
downloadbsdgames-darwin-1a72f9140767ce0c716624bfb01aa03158fcd5ec.tar.gz
bsdgames-darwin-1a72f9140767ce0c716624bfb01aa03158fcd5ec.tar.zst
bsdgames-darwin-1a72f9140767ce0c716624bfb01aa03158fcd5ec.zip
Add five more tips.
-rw-r--r--fortune/datfiles/netbsd-tips19
1 files changed, 19 insertions, 0 deletions
diff --git a/fortune/datfiles/netbsd-tips b/fortune/datfiles/netbsd-tips
index 83a6cacf..9e58dde8 100644
--- a/fortune/datfiles/netbsd-tips
+++ b/fortune/datfiles/netbsd-tips
@@ -113,3 +113,22 @@ dc(1), bc(1), or awk(1). Here are some simple examples:
echo $((431 * 79))
expr 60 \* 60 \* 24 \* 7
%
+You can view network connections with the fstat, netstat -a, sockstat,
+and "systat netstat" commands.
+%
+Visit the NetBSD Security website to keep track of advisories:
+ http://www.NetBSD.org/support/security/
+Or join the security-announce mailing list for alerts:
+ http://www.netbsd.org/mailinglists/#security-announce
+%
+Here's an example of finding what package a file belongs to:
+
+ pkg_info -Fe /usr/pkg/bin/inw
+%
+Many log files are checked for rotation every hour by newsyslog(8).
+It is configured in /etc/newsyslog.conf.
+%
+NetBSD's default cron jobs are defined in the /var/cron/tabs/root
+file. As the superuser, use "crontab -l" to view it. To edit it,
+use "crontab -e" (which defaults to using the vi(1) editor).
+%