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:
If you don't have seq, you can use perl.
There is 1 alternative - vote for the best!
Ever need to get some text that is a specific number of characters long? Use this function to easily generate it! Doesn't look pretty, but sure does work for testing purposes!
Using urandom to get random data, deleting non-letters with tr and print the first $1 bytes.
Here's my version. It's a bit lengthy but I prefer it since it's all Bash.
If you can do better, submit your command here.
You must be signed in to comment.