RE: Filenames with a $ in it

From: Jamie Furtner (jamie.furtner_at_ideaca.com)
Date: 11/27/03

  • Next message: Dan Nelson: "Re: Filenames with a $ in it"
    To: "'Dan Gapinski'" <dangapinski@qsi-r2.com>, "'secureshell@securityfocus.com'" <secureshell@securityfocus.com>
    Date: Wed, 26 Nov 2003 16:45:34 -0700
    
    

    Escape the $ with a backslash on Unix. The $ is a special character in most
    shells - environment variables are prepended by the $.

    So, "test$" becomes "test\$".

    Jamie Furtner

    -----Original Message-----
    From: Dan Gapinski [mailto:dangapinski@qsi-r2.com]
    Sent: November 26, 2003 2:48 PM
    To: secureshell@securityfocus.com
    Subject: Filenames with a $ in it

    Hello,

    This might be a UNIX idiocyncracy, but are there any limitations that
    restrict a filename from having a $ in it? It appears that if we copy a
    so-named file using SCP, the file cannot be opened or copied. In Windows
    this is completely legal, so I had to ask.

    Thanks in advance,
    Dan


  • Next message: Dan Nelson: "Re: Filenames with a $ in it"