When I open Konsole
the settings in .profile
are not executed, and it means the ~/bin
is not added to the PATH
.
Is there a way to get Konsole
to do that?
PS. Is there a way to tell whether Konsole is running bash
or dash
When I open Konsole
the settings in .profile
are not executed, and it means the ~/bin
is not added to the PATH
.
Is there a way to get Konsole
to do that?
PS. Is there a way to tell whether Konsole is running bash
or dash
These files:
.profile
or.bash_profile
are executed by the command interpreter only for login shells. See what is Difference between Login Shell and Non-Login Shell?To execute, for example,
.profile
file in your konsole after you open it, run the following command:or:
These commands are equivalent and they source/execute the code from inside of
~/.profile
file.