How Do I Read a Binary File in Linux?
Contents

How do I view a binary file in Linux?

The file command will help you identify the exact file type that you are dealing with.

  1. $ file /bin/ls. …
  2. $ ldd /bin/ls. …
  3. $ ltrace ls. …
  4. $ hexdump -C /bin/ls | head. …
  5. $ readelf -h /bin/ls. …
  6. $ objdump -d /bin/ls | head. …
  7. $ strace -f /bin/ls. …
  8. $ cat hello.c.

30 апр. 2020 г.

How do I view a binary file?

To find binary data

  1. Go to menu Edit > Find.
  2. In the Find What box, select a previous search string from the drop-down list or type the data you want to find.
  3. Select any of the Find options and choose Find Next.

14 февр. 2019 г.

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest