5

This question already has an answer here:

I have a doubt related the output of ll command.

When, in my shell, I execute the ll command I obtain this output:

-rwxrwxr-x 1 andrea andrea 104215 ott 15 15:56 atmosfs*

Why I have the * next to the file name atmosfs? What does it mean?

marked as duplicate by user26112, Anthon, jasonwryan, slm, Joseph R. Oct 16 '13 at 2:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • it seems to be copy of serverfault.com/questions/233468/ubuntu-at-the-end-of-filename – dchirikov Oct 15 '13 at 14:41
  • @dchirikov: It's merely a duplicate, not a copy. (The word "copy" might imply a copy-and-paste of the exact content.) – Keith Thompson Oct 15 '13 at 21:30
  • sure this is a duplicate, but the question header is much more appropriate as for me: I see the * but no -F flag passed. So would I never found the answer without such good already asked question. Thanks. – kyb Apr 16 '17 at 21:07
9

The * means the file is executable (permissions-wise).

Your alias probably includes the -F option for ls, which will add:

  • / onto directories
  • * onto files that are executable
  • @ onto symbolic links
  • = onto sockets
  • | onto FIFOs (First In First Out, aka Named Pipes)

You'll mostly see the first three in day to day usage.

It's jarring if one is unfamiliar with it, but it's quite a useful option.

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