Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ralph
on June 10, 2012
|
parent
|
context
|
favorite
| on:
Lessons learned from cracking 2 million LinkedIn p...
Why the test of both $# and $1?
tr -dc '!-~' </dev/urandom | head -c ${1-12}; echo
Change to A-Za-z0-9, etc., to suit.
Locke1689
on June 11, 2012
[–]
Mostly because I'm terrible at shell scripting. Thanks.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: