Here's what's happening, in short :
• If you type exit, all's fine and the command runs.
• If you type something like screenfetch, it gets replaced by "screenfetcscreenfetch" the second you press the enter key
I have autocomplete and autocorrect off at all times, and I use the default keyboard on my Samsung S6 Edge (SM-G925F zerolte).