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
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.
-
-
2and 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