LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-30-2004, 06:01 PM   #1
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Rep: Reputation: 30
Copying file in text mode?


Hi. Really simple question. What is the command for copying a file in text mode? Also how would I copy a folder from cdrom, named My Music/ My Pictures/ in text mode. As I have tried to leave a blank space inbetween the name and no success, ive also tried to put the name together MyMusic and no success. Thanks for any help.
 
Old 03-30-2004, 06:05 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
cp

man cp for the man pages or view them here online at http://man.linuxquestions.org
 
Old 03-30-2004, 06:06 PM   #3
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
have a read here

http://linux-newbie.sunsite.dk/lnag_commands.html

<edit>trickykids got fast fingers</edit>
 
Old 03-30-2004, 06:09 PM   #4
jods
Member
 
Registered: Mar 2004
Location: Patiala, India
Distribution: Mandrake
Posts: 34

Rep: Reputation: 15
the command for copying is cp

cp <source> <destination>

To include spaces in file names use backslash \ before space

As cdrom would normally be /mnt/cdrom u cud use
cp /mnt/cdrom/My\ Music/My\ Pictures/

for more help do man cp

Hope that helps
~Jods
 
Old 03-30-2004, 07:01 PM   #5
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Original Poster
Rep: Reputation: 30
It has already been mounted. The problem was that I forgot the cd was not in the drive. Thanks anyway.
 
Old 03-30-2004, 07:03 PM   #6
HadesThunder
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 9.1
Posts: 281

Original Poster
Rep: Reputation: 30
Sorry, replied to wrong post. Will try that thanks jods.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How change text color using linux in text mode only runlevel 3? Xavius Linux - General 7 05-07-2009 03:19 AM
Copying parts of a text file austen77 Linux - Newbie 3 09-01-2005 10:56 PM
Default mode for opening text file qcoder Programming 4 05-24-2004 07:08 PM
Booting to VGA or text mode without editing config file mattman1081 Linux - Newbie 6 02-10-2004 09:36 PM
How do you search for a file in text mode? cyberkid12 Linux - General 7 12-21-2002 01:42 AM


All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration