bash function for rpm whatprovides

Sometimes some simple one-liner function can save you a lot of time, like-

wps ()
{
    rpm -q --whatprovides $(which $1 )
}   # ----------  end of function wps  ----------

This site uses Akismet to reduce spam. Learn how your comment data is processed.