i just ran /bin/bash --debugger, then “declare -F bash”, which says “bash 59 /etc/g/g”, and at line 59 i find a definition of a function named “b”, not “bash”.
i can’t see that’s it’s related, but also contained is the assignment “BARh=bash”
what’s going on? is “bash” somehow implicitly or explicitly defined as a function amongst /etc/profile files or some such?
– forcibly reinstall the package “aaa_base” to enforce the default bashrc and profile behaviour.
There shouldn’t be any other initialisation files which could change the default behaviour of Bash but, you could search everything in ‘/etc/bash_completion.d/’ and ‘/etc/profile.d/’ for a possible culprit.
You could also check the output of the Bash builtin command “alias”.