Sometimes when login out of the shell (CLI), I get this warning/error message:
s$ logout bash: logout: not login
shell: use éexit'
There are two times when this happens:
-
On my remote server, when I login using a user account that I created, when I try to logout, I get that error
-
Today (first time), I was experimenting with using openssl to encrypt files and accidentally piped the output of a binary file to stdout. I ha to press Ctrl-C to break the stream. after that I got this error when I tried to logout:
s$ logout bash: logout: not login
shell: use éexit'
notice the strange characters?
Does anyone know what is going on and how I may fix this?
BTW, I am running Ubuntu Lucid (10.0.4 LTS)
Best Answer
Your problem comes from piping binary files to stdout.
Just use the
reset
command whenever you mess up the terminal settings.