I need to read first byte of file I specified, then second byte,third and so on. How could I do it on BASH? P.S I need to get HEX of this bytes
use read with -n option.
read
-n
while read -n 1 ch; do echo $ch done < moemoe.txt