The backslash "\" is a special character, it is used for quoteing other
special characters such as ashtric "*".  To prevent the shell from
expanding on the wildcard "*" and use as the literal character you would
use "\*".  So to get the literal "\" you have to quote with a "\", so
you would use "\\" to mean "\".  So to get two literal "\" you have to
use four "\". 


Flippie Spies wrote:
> 
> Why if I want to use smbclient I have to specify \\\\host\\\service.
> If I try \\host\service I get the following error:
> \hostservice: Not enough '\' characters in service
>  ^^^^^^^^^^^
> It does not even put "\" between host and service.
> 
> The strange thing is \\\\host\\\service works.
> 
> WHY
>

-- 
(...Later..:)
         _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
        _/                        _/ Exxon Research & Engineering   _/
       _/ _/_/_/ _/_/     _/_/_/ _/ Kevin K. Sochacki              _/
      _/ _/     _/  _/   _/     _/ ICSBS CC124 (908) 730-2911     _/
     _/ _/_/_/ _/_/   & _/_/_/ _/ mailto:[EMAIL PROTECTED]       _/
    _/ _/     _/ _/    _/     _/ PERSONAL                       _/
   _/ _/_/_/ _/  _/   _/_/_/ _/ mailto:[EMAIL PROTECTED]       _/
  _/                        _/ http://mars.superlink.net/kks  _/
 _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to