My default login shell is bash. From a few online forums, I configured my terminal to auto load my .bashrc
file whenever I open the terminal by adding:
source ~/.bashrc
in.bash_profile
ORby adding the following code snippet in
.profile
:if [ -n "$BASH_VERSION" ]; then if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi
With either of the two, my .bashrc
loads automatically, but with this I am unable to see the process status using ps
command.
Note: If I disable the auto loading of my .bashrc
and manually load it by typing bash, I am still able to see process status using the ps
command.
Please help me out.