Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Are there any linux command which lets me to read Iso file byte by byte without mounting?

share|improve this question
An ISO file is a file, you can use all manner of Unix tools such as cat to read it. You should elaborate more about your intention in order to getting better help. – Chen Levy Aug 4 '10 at 8:25
What do you mean byte by byte? What are you trying to do? – Matthew Flaschen Aug 4 '10 at 8:40
I think he is trying to extract one file from ISO and read it. Ugur, am I correct? – netme Aug 4 '10 at 8:43
I just want to read first bit of the iso. is it 1 or 0? I just need that. – ugur Aug 4 '10 at 8:56
What language are you using? – Mark Aug 4 '10 at 9:07
up vote 2 down vote accepted
dd if=file.iso bs=1 count=1|tr '\000-\177\200-\377' [0*128][1*128]
share|improve this answer

cat and read is OK.
You can do sth. like:
cat file.iso | while read -n 1 x ; do .. here do something with one character (like echo "$x") .. ; done
for more info use: man cat help read help while
Or you can use C man 2 read

share|improve this answer

An ISO is just a container file, much like a zip file. Most compression utilities (such as 7-zip for windows) can extract the files contained in the ISO to your hard drive for you.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .