Score:0

i can not type in terminal

nf flag

When I open the terminal, the window appears without the ability to write. I cannot type, and I also do not see the directory. you can see the screenshot from this link: terminal I have already tried killing all running processes and restarting the computer. Additionally, I attempted to reset the terminal.. How do I fix this?

guiverc avatar
cn flag
Did you make any changes in the session(s) prior to this issue occurring, eg. change the default version of python3 etc. Your text terminals I'd still exist to work (eg. Ctrl+Alt+F4 to switch to a text terminal), allowing you to look at logs & remind yourself as to changes made, as I'd expect your issue to be related to changes made in the session (or two) before this occurred. As we don't know what you did, how often you perform upgrades etc.. we're limited.
abdelbasset_sadok avatar
nf flag
@guiverc i was having an ssh issue so the last thing i remember is that i tested the connection git remote -v
hr flag
If you don't even get a terminal prompt (and it's not simply because PS1 is unset) then either the terminal isn't starting a shell, or the shell isn't completing its initialization - sometimes the latter is due to an infinite loop e.g. sourcing .profile from .bashrc and also sourcing .bashrc from .profile
abdelbasset_sadok avatar
nf flag
@steeldriver what should i do in this situation please ??
hr flag
Assuming your terminal is configured to use the bash shell, open the relevant (hidden) files (.profile, .bashrc, .bash_profile) from the file manager and check them. Or open the terminal's Preferences and change the command to `/bin/bash --noprofile --norc` or to an alternate shell such as `/bin/sh`.
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.