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 better way to do the "src X or dst X" filter; plus you might not want to bother with DNS lookups (-n).
There are 9 alternatives - vote for the best!
Where src or dst is the host that you want to view the HTTP header.
If you can do better, submit your command here.
You must be signed in to comment.