1

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 000 000 000 000 000 000 000 000 000 000 000 000 000 000
*
1130000

Is there any way to get all my values instead of just the first and the last?

1

1 Answer 1

3

Add the -v option: this tells od to output duplicate lines (which it normally suppresses). So

od -v -b myfile

will produce the output you’re after.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.