1

I connected to CentOS server via SSH. In SSH terminal I executed

csh

command mistakenly. Now when I use

logout

command it throws

Not a login shell.

output. How can I logout CSH and return back to SSH?

  • 3
    exit? Ctrl+D? – Mikel Oct 23 '14 at 19:27
1

exit or sending End-Of-File (^D) should terminate the shell.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.