0

After I have installed 'Google CLI' I cannot do anything in the terminal. I have tried a few solution I found on web to recover, but still without success.

enter image description here

karel
  • 114,770
junior
  • 11
  • 1
    What is your OS? What is "'Google CLI"? – Pilot6 Feb 14 '23 at 11:56
  • I have installed Ubuntu 22.04; Google CLI is a tool for developers to play with Google features – junior Feb 14 '23 at 11:58
  • What happens when you press Enter? Does the cursor move? – FedKad Feb 14 '23 at 12:07
  • Nothing. I have try to use ENTER, Ctr + C/Q/S/Z/C/J; I have tried to use bash/Javascript terminal -> the same story – junior Feb 14 '23 at 12:11
  • Can you get TUI login prompt by pressing Ctrl+Alt+F3 or Ctrl+Alt+F4? What happens after login there? – FedKad Feb 14 '23 at 12:37
  • I have tried too - the same behavior: after login the coursor is just blinking, I cannot type / go to next line – junior Feb 14 '23 at 12:44
  • Probably your user profile files have been altered with commands that cause the hang. You should check the .profile and .bash* files and revert the changes. – FedKad Feb 14 '23 at 13:14
  • I have tried it...but seems I have no knowledge how to read it. I have tried to restore it from /etc/SKEL folder but maybe I paste it in wrong folder ? Where I should paste 'original' file .. in /etc/ ? – junior Feb 14 '23 at 13:17
  • Thank you FedKad for you effort and wanting to help – junior Feb 14 '23 at 14:11
  • This question is actually a duplicate of https://askubuntu.com/questions/1418431/cannot-write-into-terminal – FedKad Feb 24 '23 at 13:36

1 Answers1

1

SOLUTION: under /home/MY_PROFILE folder in file .bashrc I had to comment next line:

# Load Angular CLI autocompletion. 
#source <(ng completion script)
junior
  • 11