Score:0

Cannot type anything in Terminal

cw flag

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

Pilot6 avatar
cn flag
What is your OS? What is "'Google CLI"?
junior avatar
cw flag
I have installed Ubuntu 22.04; Google CLI is a tool for developers to play with Google features
FedKad avatar
cn flag
What happens when you press Enter? Does the cursor move?
junior avatar
cw flag
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
FedKad avatar
cn flag
Can you get TUI login prompt by pressing Ctrl+Alt+F3 or Ctrl+Alt+F4? What happens after login there?
junior avatar
cw flag
I have tried too - the same behavior: after login the coursor is just blinking, I cannot type / go to next line
FedKad avatar
cn flag
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.
junior avatar
cw flag
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 avatar
cw flag
Thank you FedKad for you effort and wanting to help
FedKad avatar
cn flag
This question is actually a duplicate of https://askubuntu.com/questions/1418431/cannot-write-into-terminal
Score:1
cw flag

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

# Load Angular CLI autocompletion. 
#source <(ng completion script)
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.