Help - Search - Members - Calendar
Full Version: Cp Command Help
Linuxhelp > Support > Technical Support
I have a simple but frustrating question about accessing files on a mounted CD-ROM. I need to copy a tar file from the CD-ROM into a directory on my hard drive. In Windows (sorry for cussing) I would access it as 'E:/somedirectory/filename.ext'. Once my CD-ROM is mounted, how do I simply copy the file from the CD to a directory? I would imagine I can get away with the 'cp' command, as I don't need all the fancy stuff with parent and child folder attributes. Thanks for your help.
The basic usage is cp source destination

Have a look at these 2 links.
Quick and dirty:

cp /mnt/cdrom/someplace/somefile.txt /home/guido/somefile.txt
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.