LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-05-2005, 11:34 PM   #1
powereds
LQ Newbie
 
Registered: May 2005
Location: Cebu City, Philippines
Distribution: Fedora Core 4
Posts: 4

Rep: Reputation: 0
windows space character equivalent


hi all,

im a linux newbie. i would like to ask the windows share space character equivalent in linux command line. i got this problem when i try to mount a windows share name with a space in between. when i use vi to edit my fstab file and using the spacebar have a space in between. when i try to mount it, i got an error, the share cannot be found. for example, the windows share name is "cso files", it only detected cso, resulting to share cannot be found because "files" in the "cso files" share name is not detected.

i also found out that windows directory name with space in between got the same result but i found out that the equivalent of space character of windows directory name in linux is ?. for example, i got a windows directory filename "cso users", when i use the linux command line i had to type "cso?users" to access it.

now, when i try to substitute "?" for space in windows sharename, still the sharename cannot be found.

anyone, please help me.

thank you very much in advance.
eds
 
Old 07-06-2005, 12:01 AM   #2
powereds
LQ Newbie
 
Registered: May 2005
Location: Cebu City, Philippines
Distribution: Fedora Core 4
Posts: 4

Original Poster
Rep: Reputation: 0
Hello! Anybody here got any idea?
 
Old 07-06-2005, 12:07 AM   #3
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
? is a wildcard, you just got lucky that it worked in the shell.

You could try putting quotes around it or escaping the space with a \, I know those'll work on the command-line, but I don't know about in fstab.

I would just recommend not creating shares with spaces in the names, it causes problems in Windows as well unless you resort to browsing to everything the long way.
 
Old 07-06-2005, 05:06 AM   #4
powereds
LQ Newbie
 
Registered: May 2005
Location: Cebu City, Philippines
Distribution: Fedora Core 4
Posts: 4

Original Poster
Rep: Reputation: 0
thank for your idea. yup! just got lucky

i already tried using \ but it doesn't work. I have to find a solution for this problem coz im not the sys ad here that can easily rename the share to be linux compatible.

thanks once again.
eds
 
  


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
/dev/dsp windows equivalent? scottf Programming 1 04-19-2005 10:09 AM
Copy from windows to linux character problem kaboom Linux - General 6 03-10-2005 04:44 AM
What is the equivalent of Windows events in Linux DavidW567 Programming 8 12-24-2004 05:14 PM
Equivalent to windows Charmap? robertmarkbram Linux - General 2 12-02-2003 06:39 PM
?Iptables equivalent in windows pudhiyavan Linux - Security 1 11-06-2003 10:54 PM


All times are GMT -5. The time now is 01:41 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration