💻 Software
What happens exactly when I type 'bash' on the Terminal command line on Mac OSX?
Fresh5 days ago
Mar 15, 20268178 viewsConfidence Score0%
0%
Problem
I have an alias that I've added to .bashrc, and it only activates in Terminal after I run the 'bash' command. I feel like I should know what's happening here, but I don't. :)
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: What happens exactly when I type 'bash' on the Terminal command line on Mac OSX?
Low Risk
From : When an interactive shell that is not a login shell is started, bash reads and executes commands from , if that file exists. Emphasis mine On OS X, all Terminal windows and tabs run login shells, which is equivalent to you running instead of …
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix