bash function for rpm whatprovides 2018-12-31 1 min read bash Fedora Learning Sometimes some simple one-liner function can save you a lot of time, like- wps () { rpm -q --whatprovides $(which $1 ) } # ---------- end of function wps ----------