You can check for this by entering the command echo $BASH_VERSION, and it should display some information on version number - it should not be blank. ![]() A shell is an interactive command-line interpreter that runs. bashrc if it is available - assuming $BASH_VERSION is present in your environment. When a command is typed, the shell fork s off a new process. The standard ~/.profile has this in it: if then bashrc should be run directly.įor login shells (like the virtual terminals), normally the file ~/.profile is run, unless you have either ~/.bash_profile or ~/.bash_login, but they are not there by default. With Ubuntu, gnome-terminal does not normally run as a login shell, so. I believe there is an option to run bash terminal as a login shell or not. ![]() # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) bashrc is this comment: # ~/.bashrc: executed by bash(1) for non-login shells. It isn't necessarily run at the top of the standard.
0 Comments
Leave a Reply. |