Commands excuted on bash startup
Sorry if this has been asked many times, I do have searched the forum :study:
Every time I login/open a bash shell windows, the shell will prompt Quote:
BTW, I have check every *bash* like file, but could find no similar words in them. |
did you look in your home directory at the hidden file .bashrc?
This file contains a list of commands run when you open shell. Alex |
Yes, I have, and root's .bashrc, too, but there is nothing.
|
its always when you open a shell? not just logging in? post your .bashrc
|
Yes, it appears both on logging in and opening a shell(always).
Here it is, thanks. Quote:
Quote:
|
These files both reference /etc/bashrc (as is normal) -- I'd suggest looking in there next. Did you look in .bash_profile too just to be sure (though it should only be parsed when you invoke a login shell, not every time you bring up an xterm unless you have xterm configured to run bash --login).
|
All times are GMT -5. The time now is 02:27 AM. |