summaryrefslogtreecommitdiffstats
path: root/games/fortune/datfiles/freebsd-tips
diff options
context:
space:
mode:
Diffstat (limited to 'games/fortune/datfiles/freebsd-tips')
-rw-r--r--games/fortune/datfiles/freebsd-tips6
1 files changed, 6 insertions, 0 deletions
diff --git a/games/fortune/datfiles/freebsd-tips b/games/fortune/datfiles/freebsd-tips
index 8032863..46b19e6 100644
--- a/games/fortune/datfiles/freebsd-tips
+++ b/games/fortune/datfiles/freebsd-tips
@@ -469,3 +469,9 @@ write
This won't work if you don't have write permissions to the directory
and probably won't be suitable if you're editing through a symbolic link.
+%
+If you want to quickly check for duplicate package/port installations,
+try the following pkg_info command.
+
+ pkg_info | sort | sed -e 's/-[0-9].*$//' | \
+ uniq -c | grep -v '^[[:space:]]*1'
OpenPOWER on IntegriCloud