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.
2 Answers
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
free -h
to check and didn't specs!sudo
asks for your password. Did you enter it?