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:
has the benefit of being a bit more cross-platform.
There are 3 alternatives - vote for the best!
Get just the IP address for a given hostname. For best results, make this a function in your shell rc file so that it can be used for things like traceroute:
Titus:~$ traceroute `getip foo.com`
traceroute to 22.214.171.124 (126.96.36.199), 64 hops max, 52 byte packets
If you can do better, submit your command here.
You must be signed in to comment.