The following example lists the files on the tape in drive 0.
$ cpio -civt < /dev/rmt/0 drwxr-xr-x 2 rimmer users 0 Jun 9 16:07 1998, answers drwxr-xr-x 2 rimmer users 0 Jun 9 16:07 1998, sc.directives drwxr-xr-x 2 rimmer users 0 Jun 9 16:07 1998, tests 8 blocks |