Showing posts with label convert Hexadecimal into Text on command line. Show all posts
Showing posts with label convert Hexadecimal into Text on command line. Show all posts

Monday, October 2, 2017

Convert Text into Hexadecimal and Hexadecimal into Text on command line


Convert Text into Hexadecimal using command line :
printf "linux is awesome" | xxd

or

echo -n "linux is awesome" | od -A n -t x1


Convert Hexadecimal into Text using command line:
echo "6c 69 6e 75 78 20 69 73 20 61 77 65 73 6f 6d 65" | xxd -r -p && echo ""