in puTTy, what does the @ sign signify when it's right after a directory?
ex.
pdf/
public_html/
video@
It is a symbolic link, however on another server, the same symbolic link does not have an @ sign after it.
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
It's the difference between: $ ls and $ ls -F but it's not putty. | |||||||
feedback
|
|
Type | |||
|
feedback
|
|
I know this was answered, but i'd like to add some detail and it's hard to give large explanations in a comment window. The Also, in your comment, you talk about hard links and symlinks. They are very different. A symlink is a pointer to a file or directory. It's very similar to a shortcut in Windows (though UNIX did it better than Windows, which copied it poorly). It can point anywhere; on this disk, on another disk. Even the thing it points to may or may not be there. If I have a symlink that points to a file/dir that doesn't exist, it's called a dangling symlink. A hard link is the name for the file. Think of a file really of two parts. There's the data, the actual info you put in the file. Your text, song, whatever. Or nothing, for an empty file. Then think of the metadata, info about your file. What's it's name? What type of file is it (file, directory, fifo, symlink, etc), When did i last write to it, what are the file permissions? This metadata is the hard link. In UNIX, they don't have a one to one relationship from this name-and-other-stuff metadata to the actual file. I can create more of these links - different names, different locations, different permissions. This is what's called hard linking. The system always creates one of these hard links when you create a file, but | |||||
feedback
|
lscommand, which is run in a shell that you invoke with PuTTY. – Ether Oct 8 '10 at 2:01