LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 01: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, 01:09 AM   #2
austinium
Member
 
Registered: Nov 2007
Location: India
Distribution: Debian Stable, Debian Testing
Posts: 219

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, 01: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, 05:48 AM   #4
L1nuxn00b703
Member
 
Registered: Sep 2009
Posts: 117

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


Reply



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 08:41 PM
LXer: A Quick Look at Qt Quick LXer Syndicated Linux News 0 06-09-2010 05:00 PM
just a quick hello Haley LinuxQuestions.org Member Intro 7 10-02-2004 03:10 PM
ATI QuestionO iamstorm Linux - Hardware 6 09-12-2004 09:31 PM
Quick help me! Bensoft Kill MS Linux - Hardware 1 09-16-2003 09:46 AM

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

All times are GMT -5. The time now is 06:15 AM.

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
Open Source Consulting | Domain Registration