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?

1 Answer 1


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.

  • Neato, thank you. Never heard of doors as a formal name before.
    – c-o-d
    Jan 1, 2014 at 16:35
  • 2
    and if you didn't actually type --classify or --indicator-style=classify, it was probably added by an alias. Jan 1, 2014 at 16:36
  • 1
    @EdgarAroutiounian Doors are a Solaris feature, not widely adopted, and in particular not available on Linux. Jan 1, 2014 at 23:08
  • If anyone has enough rep for a 1-character edit, there's now an https version of the URL in this answer.
    – AJM
    Jan 30, 2023 at 9:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .