commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
This is a slightly modified version of http://www.commandlinefu.com/commands/view/4283/recursive-search-and-replace-old-with-new-string-inside-files (which did not work due to incorrect syntax) with the added option to sed inside only files named filename.ext
'yum deplist XXX' provides a list of packages that XXX depends on.
This command provides a list of packages that depend upon XXX (package reverse dependencies)
This probably only works without modifications in RHEL/CentOS/Fedora.