I use an external HPC system via ssh. Today I tried to install "ASE" a Python code for dealing with atoms. I followed instructions to modify my .bashrc
file but kept getting ModuleNotFoundError: No module named 'ase'
So I executed a source
command for my .bashrc
file, thinking that would be necessary to get the changes to the .bashrc
file recognized (unfortunately, I don't remember the exact command).
Now when I try to execute any kind of command (even after logging out and logging back in), I get:
###################################################################################### (<-- normal welcome message that I always get on login up to here)
-bash: /usr/bin/whoami: Argument list too long
-bash: /usr/bin/cut: Argument list too long
-bash: /usr/bin/logger: Argument list too long
me@n01:~>
I have looked around online for a solution, but don't see any examples of this particular situation. Most people who get the same error still seem to be able to access their files. Can anyone help?
I can't login as root because this is a system I'm accessing via ssh. I can't access my .bashrc
or .bash_profile
files without getting the error.
ssh -t user@host /bin/sh
/bin/sh
) is at the end ofssh -t
. Please confirm that you included this.