> I think that the man page from bash (especially invocation) has a good
explanation of the different modes.

Call me stupid - it explains the behavior [as in what files are read and
what aren't] quite well, but the I could not find the precise use cases
of "interactiveness" and "login" explained anywhere. What is the purpose
of these two modes? I mean, I can invoke both sh -i -c <command>, and sh
-l -c <command>. Also, the man page contains phrases like "When an
interactive shell that is not a login shell is started, (...)" which
suggest that passing both -i and -l is actually possible and both have
an effect [which seems to be wrong, as you pointed out]. I don't
understand all of this, and just because my intuition tells me that
login shells are those intended for login while interactive ones are
everything else still doesn't explain why this behavior is so different.

In other words: What is the motivation for having a separate "login" and
"interactive" behavior? This would allow us to judge which one to
choose.

-- 
.bashrc is not executed when terminal is opened through nautilus-open-terminal
https://bugs.launchpad.net/bugs/448337
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
universe-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/universe-bugs

Reply via email to