Patrick Lühne
020b9dc7d4
In order not to have conflicts with the system’s environment variables, custom variables are conventionally set in lower case.
4 lines
153 B
Bash
Executable File
4 lines
153 B
Bash
Executable File
#!/bin/bash
|
|
length=${1:-32}
|
|
cat /dev/urandom | tr -dc 'a-zA-Z0-9-_!@#$%^&*()_+{}|:<>?=' | fold -w $length | head -n 1 | grep -i '[!@#$%^&*()_+{}|:<>?=]'
|