Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm running the zsh shell in emacs. When I run ls I get a = at the end of .sock files. What does the = mean? Is it unique to unix sockets?

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

According to the coreutils documentation under --classify (alias -F), = is for sockets:

Append a character to each file name indicating the file type. Also, for regular files that are executable, append ‘*’. The file type indicators are ‘/’ for directories, ‘@’ for symbolic links, ‘|’ for FIFOs, ‘=’ for sockets, ‘>’ for doors, and nothing for regular files. Do not follow symbolic links listed on the command line unless the --dereference-command-line (-H), --dereference (-L), or --dereference-command-line-symlink-to-dir options are specified.

share|improve this answer
    
Neato, thank you. Never heard of doors as a formal name before. –  Edgar Aroutiounian Jan 1 at 16:35
2  
and if you didn't actually type --classify or --indicator-style=classify, it was probably added by an alias. –  Robin Green Jan 1 at 16:36
    
@EdgarAroutiounian Doors are a Solaris feature, not widely adopted, and in particular not available on Linux. –  Gilles Jan 1 at 23:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.