I was editing the /etc/inetd.conf file in VI to enable SSH and when I believed to have saved it. I entered cat and pressed enter accidently. Now I seem to be stuck in a black screen where I can enter characters but can't exit from it. How would I go on my way to get back to the normal console without rebooting the ESXi.
Thanks
Try
ctrl-c
. Cat without any parameters will direct stdin (your keyboard input) to stdout (your screen) until it is interrupted.As ktower says,
Ctrl+C
should get you out ofcat
, if you're stuck in that.If you want to get back to the normal ESXi interface, try
Alt+F2
(could be a different number, if that doesn't work, try the other F keys).