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:
Get there by going backwards and forgetting the numbers.
There are 2 alternatives - vote for the best!
essentially the ruby one, but perhaps has a larger installed base
Perl is installed by default on most modern OS when jot is not.
This feels more intuitive to me.
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.