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:
There are 4 alternatives - vote for the best!
This line provides the same result by reading the output of a less arbitrary value.
This is a personal choice on the matter, and the result on different machines may vary.
Used curl instead of wget (minor change)
Used the full-url instead of the shortened one (in case is.gd goes down/empties their cache)
turned the tail | awk bit into a single awk command.
Numbers are less understandable then words. Also this may put out a different result.
If you can do better, submit your command here.
You must be signed in to comment.