Transform hexadecimal information to binary using a Linux command December 11, 2022 by Tarik As @user786653 suggested, use the xxd(1) program: xxd -r -p input.txt output.bin