I use the Windows as my main os
, and the putty link to a Ubuntu
. When I copy a string in Windows and paste into the putty bash command line I always get a wave mark
at the head of the string. Why's that?
But if I paste the same string when I enter vim
in the putty, the string shows fine without the wave mark
. How to fix it?
I haven't got 10 reputations what means that I can't post a pic. The link below is the img file url. you will find that at the head of the string I get a ~
-- update ---
I change the shell back to bash
but the question still there.
zsh
shell, so it might be the cause , but I might be wrong. Try entering a different shell, for examplesh
and then pasting. If the same thing occurs, that's probablyputty
issue. Oh, and if you see something like^[O^[OD^[OC
when using/bin/sh
, don't freak out - it's normal – Sergiy Kolodyazhnyy Dec 14 '16 at 02:38bash
but it seems no use. – Lee Dec 14 '16 at 04:42