Sometimes when I edit my file using vi or vim, my file just freezes. Even if I type Ctrl+C or Ctrl+D, it still freezes there. I kill -9 <pid>
from another terminal, the pid is killed, but the file still freezes there.
I guess I must have typed some combination of key which I do not know. Does anybody have an idea?