Bash script to create a file with increment bytes

Bash script to create a file with increment bytes

2019/09/08 Linux 0

for ((x=0;x<=255;x++)); do a=`echo “obase=16; $x”|bc`;echo -n -e “\x$a”; done

Leave a Reply

Your email address will not be published.