1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 19:30:01 +02:00
dotfiles/scripts/randomhex
2024-08-25 16:08:01 +02:00

2 lines
93 B
Bash
Executable file

#!/bin/bash
head -c$1 </dev/urandom|xxd -ps | sed 's/.\{32\}/&\n/g' | sed 's/.\{2\}/0x&, /g'