LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   how to mount or cd to a folder with a ' (http://www.linuxquestions.org/questions/linux-general-1/how-to-mount-or-cd-to-a-folder-with-a-4175453220/)

andycol500 03-08-2013 01:18 AM

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

kbp 03-08-2013 01:49 AM

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.


All times are GMT -5. The time now is 09:21 PM.