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.
Asked
Active
Viewed 121 times
0

egmont
- 8,225
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 likegrep
,sort
,sed
etc.) – egmont Jun 18 '23 at 09:08echo "$0"
return? – Raffa Jun 18 '23 at 09:50