How to search a file with grep for certain hexadecimal values.
The grep utility is very useful for searching for files and text snippets. It can also be used to search a file for certain values in hexadecimal. In the example below, I am searching for the text “JFIF” in hexadecimal in certain files. This will tell me that they are jpg image files. The hexadecimal … Read more