LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
 
Search this Thread
Old 03-08-2013, 01:18 AM   #1
andycol500
LQ Newbie
 
Registered: Mar 2012
Posts: 15

Rep: Reputation: Disabled
how to mount or cd to a folder with a '


Hi Guys,

I am trying to mount a windows share via centos 6
the problem is that share has a ' in it.

how do i mount it?

the command is

mount -t cifs //192.168.0.12/andrew's' -o username=administrator,password=xxxxx /mnt

how do i mount it if it has a ' in the name?


thansk
 
Old 03-08-2013, 01:49 AM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
The standard method of escaping characters that may have special meaning to the shell is to use a backslash('\') .. try that first and let us know how you go.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Increasing size of /var folder or mount to another folder jbspain Linux - Server 7 11-18-2010 02:33 AM
How to mount a folder to public_html zardari7 Linux - Newbie 1 07-01-2009 08:42 PM
"Mount" a folder into my ftp folder ? 0001001 Linux - General 3 11-27-2005 04:23 AM
mount samba folder alaios Linux - Networking 2 07-23-2005 03:14 PM
mount web folder? keithturner Linux - Newbie 8 01-24-2003 07:09 PM


All times are GMT -5. The time now is 07:03 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration