Tuesday, December 10, 2013

Linux - OD to dump file

In Windows, I always try to find a decent Hex editor (HxD is a rather good one).

Now, since I am only interested in reading a file in Hex format, od is a good linux command, which is also available to use in Cygwin, to dump file in Hex (By the way, OD means Octal Dump)

To see dump in Hexadecimal, do the following

od -h your_file.txt

Another useful dump is to dump a file in ASCII, do the following

od -c your_file.txt

No comments:

Post a Comment

LDAP - Deleting an LDAP entry

To delete an ldif entry, one way is to put an changetype attribute and a value 'delete' in the ldif file For example dn: cn=so...