I'm using this to quickly search package names, thought I'd post it on the chance that someone else would find it useful, or that someone has a better method: alias debgrep 'egrep -i "Package:.*\!*" /var/lib/dpkg/available'