bash: $'\302\211[COMMAND]': command not found

15,441

This is the same problem as Why do I sometimes get 'sh: $'\302\211 … ': command not found' in xterm/sh? (but not a duplicate — yet — because there was no suitable answer).

Summarizing from my answer: you see this behavior because occasionally you press metatab rather than just tab, which makes xterm send a different character.

Share:
15,441

Related videos on Youtube

neallred
Author by

neallred

I love learning and helping others and I love that web development enables me to do both! My current favorite technologies are Haskell and Rust, and my forever favorites are Linux and Vim. In my spare time, I develop a purely functional library book management system for a private collection of nearly 1000 books.

Updated on September 18, 2022

Comments

  • neallred
    neallred over 1 year

    I've used bash in xterm on Debian Jessie for about 2 years. Just recently I sometimes get an error bash: $'\302\211[COMMAND]': command not found.

    The only help I can find on the topic is Piping grep causes error $'\302\240grep': command not found on linux and Why do I sometimes get sh: $'\302\211 … ': command not found in xterm/sh?. This sometimes happens when I type tab for command completion. Is there any way I can get rid of this without switching terminal emulators?

  • Thalys
    Thalys about 7 years
    When you find an exact duplicate, please flag or vote to close as such, rather than posting the same answer in both places. It would also be nice if you would explain how this fixes the issue.
  • David Scott
    David Scott almost 4 years
    Also, it doesn't: bash: $'\302\203\302\226\302\226setxkbmap': command not found