Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Cp Command Help, too simple to have it's own forum title
guido
post Jul 12 2003, 11:57 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 12-July 03
Member No.: 1,091



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.
Go to the top of the page
 
+Quote Post
Joey
post Jul 13 2003, 05:20 AM
Post #2


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



The basic usage is cp source destination

Have a look at these 2 links.

http://www.linuxhelp.ca/newbies/#cp

http://www.linuxhelp.ca/newbies/#cdrom
Go to the top of the page
 
+Quote Post
Corey
post Jul 15 2003, 09:11 AM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Admin
Posts: 1,254
Joined: 21-September 02
From: St John's, Newfoundland, Canada
Member No.: 3



Quick and dirty:

QUOTE
cp /mnt/cdrom/someplace/somefile.txt /home/guido/somefile.txt


--------------------
Corey Quilliam
(former) Linuxhelp.ca Administrator
cquilliam-AT-gmail-dot-com

Want to help out Linuxhelp.net? Check out our Linuxhelp Wiki and see if there are some articles you would like to submit!!

--
Ubuntu 8.04 64-bit - Work Laptop (HP-Compaq NC6400 Core2)
Kubuntu 8.04 64-bit - Desktop (HP m8120n QuadCore)
Ubuntu 6.04 - Server (I'm not upgrading this baby until support runs out in 2012) (Some old POS dell)
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 11th December 2017 - 09:50 PM