# Find the deps for a package: qdepends -a foo # Find packages that depend on a package equery d foo # Get basic metadata (herd, maintainer) herdstat -m foo # Get files that belong to a package qlist foo equery files foo # Find packages that use a USE flag quse foo # View the CVS location for a file eviewcvs fooo # Add / edit arch keywords for ebuilds ekeyword amd64 foo-5.0.ebuild # Find a specific ebuild and edit it esearch -e mplayer # Get a dev's name, email, herds herdstat -d beandog # Get a package's $foo variable portageq metadata / ebuild media-video/dvdrip-0.98.1 "IUSE" # Get portage (make.conf) environment variables portageq envvar PORTDIR # Get (all of) an ebuilds dependencies (no color) qdepends -C -r media-video/dvdrip-0.98.1