Printing a file in hexadecimal format of all content on Linux?

How to print a binary file in hexadecimal format of all content?

asked May 14, 2014 by Eric Z Ma (44,280 points)

1 Answer

 
Best answer

Use xxd:

xxd file.txt

or

xxd -p file.txt
answered May 14, 2014 by Eric Z Ma (44,280 points)
selected May 14, 2014 by Eric Z Ma

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...