Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 03-08-2013, 01:18 AM   #1
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 //'s' -o username=administrator,password=xxxxx /mnt

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

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

Rep: Reputation: 651Reputation: 651Reputation: 651Reputation: 651Reputation: 651Reputation: 651
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.


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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:19 AM.

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