Posted by: jasonk2600 | November 10, 2009

Finding Duplicate Port Installations

Finding duplicate package or port installations in FreeBSD can be done with the following command:

 

pkg_info | sort | sed -e 's/-[0-9].*$//' | \
 uniq -c | grep -v '^[[:space:]]*1'

 

 [EoF]

Leave a response

Your response:

Categories