Are there any linux command which lets me to read Iso file byte by byte without mounting?
4 Answers
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
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.
To read some files from ISO, you can use isoinfo
command (from genisoimage
package).
For example, to list files:
isoinfo -i somefile.iso -l
To print specific file to stdout:
isoinfo -i somefile.iso -x /path/to/filename
-i filename
Filename to read ISO-9660 image from
-x pathname
Extract specified file to stdout
cat
to read it. You should elaborate more about your intention in order to getting better help.