Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Your instructions for copying the file should work fine, except the flags for mount come before the directory (and -w is default, so you don't need to use it anyway). You can just do this from /home:
Code:
mkdir sware
cd sware
mount /mnt/cdrom
cp /mnt/cdrom/rsync-2.6.5.tar.gz .
The dot, by the way, is an abbreviation for whatever your current directory is, so it's copying from /mnt/cdrom to the current directory.
As far as extracting it, zcat is just going to un-gzip it, but it's tarred as well. The right command would be "tar zxvf rsync-2.6.5.tar.gz" (z mean un-gzip, x means extract from a tar archive, v means be verbose and list files as they are extracted, and f means the filename follows next). This should create a directory in the current directory named "rsync-2.6.5" with the extracted contents inside.
--EDIT--
Actually, -w means mount read/write, and you can't do that with a CD in the first place.
i used this to mount the drive and did a backup to
Code:
/mnt/usb80gig
and it saved to the folder...but for some reason it must not have mounted because i shortly thereafter started getting all the weird errors of an out of space hard-drive.
what do you suspect my error might be...i know it's hard to tell not looking at my machine...but i'm hoping you have a suspicion.
i used this to mount the drive and did a backup to
Code:
/mnt/usb80gig
and it saved to the folder...but for some reason it must not have mounted because i shortly thereafter started getting all the weird errors of an out of space hard-drive.
what do you suspect my error might be...i know it's hard to tell not looking at my machine...but i'm hoping you have a suspicion.
Did mount give you any error messages? and could you post the exact error messages your getting. Without them it's very difficult/impossible to diagnose any problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.