How ls displays different binaries

A screenshot of Fedora 27 (x86_64) showing the pretty colors ls -l displays when displaying different binary executable types:

What exactly are these binaries? Let's list just that, in the order they're displayed above:

  • dumpcap: a file capabilities binary executable
  • passwd: a setuid-root binary executable
  • ping: a file capabilities binary executable
  • write: a setgid-tty binary executable

Note: The precise meaning and coloring can certainly vary across Linux distributions; the output shown is from a Fedora 27 x86_64 system.

Get Hands-On System Programming with Linux now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.