Skip to main content

Questions tagged [od]

-1 votes
1 answer
96 views

Using Solaris 10 ipsec the key must be converted in hex format. So I need a command to convert text in hex. This line works fine echo "mypassword" | od -t x1|head -1|tr -d ' ' |tr [a-z] [A-...
elbarna's user avatar
  • 14.5k
0 votes
0 answers
404 views

Busybox The Busybox documentation explains only this: od [-aBbcDdeFfHhIiLlOovXx] [-t TYPE] [FILE] Write an unambiguous representation, octal bytes by default, of FILE to standard output. With no FILE ...
danieltakeshi's user avatar
2 votes
0 answers
141 views

In bash, the command hexdump -C /dev/urandom > hexdump.txt does not terminate. It keeps going indefinitely, even if the filesystem is full. read(0, "\326\210L0\rL<\177\207\214\3\2237\vi\315\...
user avatar
4 votes
2 answers
3k views

I wish to dump the raw content of a SD card into a file for inspection. Most parts of it are zeroes. Learnt from this SuperUser answer I could use pv to show the progress of od and hexdump. Both ETA ...
midnite's user avatar
  • 613
1 vote
1 answer
102 views

On my Termux, for example, the following can be obtained: $ od -A n -t x1 /dev/urandom | head -n 2 e3 5d bf 57 fb 8b 63 06 4a 18 fe 28 73 8f 3e c0 9f 08 6b d4 2d 38 2c 68 3c 51 83 1e 71 7b 57 2b As ...
user avatar
13 votes
3 answers
15k views

What is the difference between the od, hd, hexdump and xxd commands ? They are all commands for dumping files and they can all dump it in various formats such as hexadecimal, octal or binary. Why ...
Nicryc's user avatar
  • 335
0 votes
1 answer
5k views

Hi now I write bytes data (for eg, \x00\x11\x22) from my PC to serial port of my device running unix at the ttyS1 port. I am able to print the data using either cat /dev/ttyS1 od -x < /dev/ttyS1 ...
GeneCode's user avatar
  • 157
2 votes
2 answers
3k views

od (octal dump) command is implemented in Unix since Version 1. However, I couldn't find a reverse command in the Version 6 Unix manual (1975). Modern ways of reversing od with either xxd or sed do ...
Andriy Makukha's user avatar
1 vote
1 answer
808 views

I am running the od command as od -b myfile to convert a file I have into image pixels. I need to see all the values but because they are too many the command prints the following: 0000000 000 000 ...
Michail's user avatar
  • 13
1 vote
1 answer
3k views

We have a file named as abc.txt and its a empty file. Due to some junk or control M characters, the file size is populated as 5 byte file. In order to have clean file we are using dos2unix command to ...
Rak kundra's user avatar
0 votes
2 answers
859 views

Is it correct that od can't show binary number? I can't find an argument to provided to its -t option for showing binary number. I feel it is natural to expect od to show binary number, or do I miss ...
Tim's user avatar
  • 107k
0 votes
1 answer
2k views

I have a file which is Non-ISO Extended ASCII type. I can't see its content just by opening it normally via cat or vim. However, I'm able to see its content in readable form with this command... od -...
yogiboy's user avatar
2 votes
1 answer
314 views

I am making my own od utility based on the Single UNIX Specification and I am confused on how the representation of floats is handled e.g. od -t f. I have a perfectly functioning utility otherwise ...
Zeno of Elea's user avatar
5 votes
3 answers
5k views

I would like to understand the content of the following file system /var/run/utmp. When I use the command od to open it I see the following: [john@iceman ~]$ od -c /var/run/utmp 0000000 002 \0 \0 ...
user avatar
1 vote
1 answer
102 views

I have output from an od command (without access to the original file). Is it possible for me to get the binary data and insert it into another file with a programming language, like python? Here is ...
Jordan's user avatar
  • 11

15 30 50 per page