Score:0

Arrow keys not working

US flag

I am new to Linux and while I tried to use the arrow keys strange characters appeared. Can someone help me? These are the characters while pressing the keys: ^[[D^[[C^[[B^[[A. Thank you.

ec flag
**Welcome to the Ask Ubuntu community.** To help in troubleshooting your issue, please edit your question to include the version of the Ubuntu OS that you're running. Thanks
cn flag
So you open a terminal, I assume a prompt (like `username@hostname:~ $`) appears, and the very next thing you do is press the arrow keys and these `^[[A` and friends appear? This is pretty unlikely after a default Ubuntu installation. Or do you do something in between that you forgot to tell us, e.g. start a simple utility that reads its input and doesn't have sophisticated input method? Then it's the expected behavior in that context (and you should only rarely have this experience in real life, much rather when following textbook examples of simple utilities like `grep`, `sort`, `sed` etc.)
Raffa avatar
jp flag
What does `echo "$0"` return?
Raffa avatar
jp flag
Does this answer your question? [Arrow keys, Home, End, tab-complete keys not working in shell](https://askubuntu.com/questions/325807/arrow-keys-home-end-tab-complete-keys-not-working-in-shell)
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.