FG
💻 Software

Dash (-) in front of bash

Fresh5 days ago
Mar 15, 20266212 views
Confidence Score0%
0%

Problem

If I examine my bash shell in an OS X (10.6.4) terminal, such as by typing , there is a dash in front of my shell, like this: . What does this dash mean?

Error Output

echo $0

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Dash (-) in front of bash

Low Risk

It means that is invoked as a login shell. says: A login shell is one whose first character of argument zero is a , or one started with the option. When bash is invoked as an interactive login shell, or as a non-interactive shell with the option, it…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment