LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-09-2010, 02:02 AM   #1
L1nuxn00b703
Member
 
Registered: Sep 2009
Posts: 117

Rep: Reputation: 15
Quick cp questiono


Hi everyone,
I have a quick newb qustion, I have a file with a quote in it: file"

what is the syntax to cp or mv it?
 
Old 12-09-2010, 02:09 AM   #2
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 218

Rep: Reputation: 27
suppose the file is named : new"file
cp would be
cp new\"file newlocationname

use a similar syntax for mv
 
Old 12-09-2010, 02:10 AM   #3
Bhagyesh
Member
 
Registered: Jul 2009
Posts: 35

Rep: Reputation: 17
put a \ before the special character

cp file\" <destination>
same is for mv
 
Old 12-09-2010, 06:48 AM   #4
L1nuxn00b703
Member
 
Registered: Sep 2009
Posts: 117

Original Poster
Rep: Reputation: 15
Thanks guyz!!!
 
  


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
Real quick iptables question (I mean real quick) sir-lancealot Linux - Networking 1 08-25-2010 09:41 PM
LXer: A Quick Look at Qt Quick LXer Syndicated Linux News 0 06-09-2010 06:00 PM
just a quick hello Haley LinuxQuestions.org Member Intro 7 10-02-2004 04:10 PM
ATI QuestionO iamstorm Linux - Hardware 6 09-12-2004 10:31 PM
Quick help me! Bensoft Kill MS Linux - Hardware 1 09-16-2003 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:34 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