Re: Can one use the @ sign in a directory name



BlackTopBum wrote:
Rock was all like, you know, and then said something like a ...

I have a friend who wants to have a linux directory name john@charlies.

I said it would be better as johnatcharlies as I feel the @ sign is not
part of the directory naming protocol.

I dunno about the protocol forbidding an "@". I just did "mkdir cmo@home"
and there it is: It doesn't appear when I do "ls -l c*:, but if I do "ls"
it does. And, in Thunar it's there and available for use.

@ is an allowed character, and you don't even have to "escape" it, even if auto completion does.

"ls -l c*" in this case will give you the content of the directory, as your directory is freshly made and you haven't put anything inside it, you will get the 'total 0' result.


--

//Aho
.



Relevant Pages

  • Re: Can one have a directory name with @ in it?
    ... Rebel Lion wrote: ... I said it would be better as johnatcharlies as I feel the @ sign is not part ... under *nix there is only 1 character not part of the directory naming protocol ... name isn't possible - the kernel uses it as directory name component separators. ...
    (alt.linux)
  • Re: Can one use the @ sign in a directory name
    ... Rock wrote: ... I said it would be better as johnatcharlies as I feel the @ sign is not ... part of the directory naming protocol. ...
    (alt.os.linux)