Files
notes/divers/random_string_bash.txt

4 lines
147 B
Plaintext
Raw Permalink Normal View History

2026-03-12 22:01:38 +01:00
# generating random string in bash
echo $RANDOM | md5sum | head -c 20; echo;
cat /proc/sys/kernel/random/uuid | sed 's/[-]//g' | head -c 20; echo;