How to view the contents of an ISO in Linux

Home > Search > How-to

Let's say we have a file named example.iso at /home/user1, and we want to view the contents of the iso. Let's create a directory to mount the iso.

[root@server1 ]# mkdir test


Let's mount the example.iso file.

[root@server1 ]# mount -o loop example.iso test


We can now list the contents of the test directory, to see the files contained in the .iso.

[root@server1 ]# ls test
file1 file2 file3


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter in the box below so that we can be sure you are a human.