login shell appears to be set to /bin/sh
- which doesn't have a logout
builtin command (you can use exit
instead - which will have the same effect in this context)
If you want to use the bash shell's logout
command, then you can change your user's login shell using the chsh
command ex.
chsh -s /bin/bash