Discussion Locked

SCO UNIX

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a SCO UNIX box that I am learning on...very slowly. I have a tar file on cd-rom and need to open and save it. What is the best way to do this?

5 replies

by mtnsqs

Create a directory to put the stuff into, and cd to it.

then try something along the lines of
tar xvf /cdrom/cdrom0

You may have to substitute yoru direct CDROm device name in the above.

Try man tar to get info on the switches

by gazz

First you have to mount the CD. The command is:
# mount /dev/cd0 /mnt

The /mnt is the mount point that you are going to use for the CD-ROM device. You could also use /cdrom if the directory has been created.

Then you can tar the file off the CD by using the tar command. If you don't know the tar command, you can find out about it by typing in man tar. Most of the time you can simply type in:
# tar xvf /mnt/thefilename.tar

This discussion is closed to new replies.