Single Dash vs Double Dashes in Shell Commands

When you’re using a shell command, it’s common to pass options to that command using dashes—which are also called hyphens. These options can be specified with either a single dash (-) or a double dash (—). But have you ever wondered when to use one or the other: a single dash or double dash? It’s […]