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 should work on any RPM-based distribution. It's more reliable than trying to parse the content of the files.
There are 2 alternatives - vote for the best!
Works on nearly all linux distros
Works on Ubuntu
Found in comments section works on most Linux flavors.
If you can do better, submit your command here.
You must be signed in to comment.