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:
In bash, by pressing ALT+n and then a character x, x will be printed n times
I know is not the same as the original command, but is correlated.
There are 3 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.
This feels more intuitive to me.
If you can do better, submit your command here.
You must be signed in to comment.