Running Any command for instance sudo service network-manager restart seems just stays idle when i press enter key. I have to reboot to restore the machine. What must i do to stop my terminal from freezing.

  • check your memory! – George Udosen Apr 26 '18 at 19:18
  • i have 4GB RAM, and 5GB swap. I think it is enough. – kishea Apr 30 '18 at 10:53
  • Use free -h to check and didn't specs! – George Udosen Apr 30 '18 at 11:03
  • sudo asks for your password. Did you enter it? – PerlDuck Apr 30 '18 at 13:51
  • sudo never asked for the password. the terminal cannot run any command i type. – kishea Apr 30 '18 at 13:56

You need to check the log info, you should open another terminal and run the following command:

 journalctl -u NetworkManager

To check what's happening with the command execution.

You could also try to add an & to the end of the command you're executing to release the command prompt. If you have prompt but can type anything, try running reset.


Press ctrl+Alt+F(1 or 2 or 3) login there and run some command. If its working fine. Something wrong with gnome-terminal. Try to run following command for any updates are stuck in between.

dpkg --configure -a

apt-get update && apt-get upgrade

apt-get install terminator

terminator is alternate terminal. This having lot of cool features

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.