@[email protected] to Software [email protected] • 5 months agoPassword must match the followingprogramming.devimagemessage-square49fedilinkarrow-up1424arrow-down13
arrow-up1421arrow-down1imagePassword must match the followingprogramming.dev@[email protected] to Software [email protected] • 5 months agomessage-square49fedilink
minus-square@pivot_rootlink2•5 months agotr -d '\n' < /dev/random | head -c256 | LANG=C sed 's/[^\x21-\x7E]//g' | head -c3 If you can figure out how to make sed stop after it outputs a specific number of characters, the head -c256 can be dropped.
tr -d '\n' < /dev/random | head -c256 | LANG=C sed 's/[^\x21-\x7E]//g' | head -c3
If you can figure out how to make
sed
stop after it outputs a specific number of characters, thehead -c256
can be dropped.