1

whereis

view story
linux-howto

http://ubuntuforums.org – Is the whereis -commando something that comes with all/most linux-dists? Trying to come up a platform-independent way of checking for some package... This works for me in Ubuntu and Arch. Code: whereis somepackage | awk '{ print $2 }' it would return a string (/usr/bin/somepackage in my case) if installed, nothing if not installed. Will this always be the case no matter distro? (Hardware)