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 feels more intuitive to me.
There are 7 alternatives - vote for the best!
essentially the ruby one, but perhaps has a larger installed base
Get there by going backwards and forgetting the numbers.
Perl is installed by default on most modern OS when jot is not.
Change the number 50 to whatever number of characters you want. Change the character inside the double quotes to whatever you want printed.
If you can do better, submit your command here.
You must be signed in to comment.