Initial commit
This commit is contained in:
3
random-password
Executable file
3
random-password
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
LENGTH=${1:-32}
|
||||
cat /dev/urandom | tr -dc 'a-zA-Z0-9-_!@#$%^&*()_+{}|:<>?=' | fold -w $LENGTH | head -n 1 | grep -i '[!@#$%^&*()_+{}|:<>?=]'
|
Reference in New Issue
Block a user