in puTTy, what does the @ sign signify when it's right after a directory?
pdf/ public_html/ video@
It is a symbolic link, however on another server, the same symbolic link does not have an @ sign after it.
migrated from stackoverflow.com Oct 8 '10 at 2:35
This question came from our site for professional and enthusiast programmers.
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.
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