I have ~/.bashrc
, ~/.bash_profile
, ~/.profile
and similar files under system directories.
How can I run bash without running the initialization/configuration scripts
- under
~
? - under system directories?
- under both above?
Requirements
don't change the files.
run bash as a login or nonlogin shell (interested in both). I still allow running those files when starting Linux.
run bash as a interactive or noninteractive shell (interested in both)
Thanks.