Unable to type ^A in vi
control-characters, vi
Solution
@Joy, If you are using Vi/Vim, just make sure you are in Insert mode and then press (Ctrl+V) followed by (Ctrl+A) to get ^A typed. Sorry, I really don't see why this wouldn't work... Maybe your (Ctrl+V) keypress is caught by some other software layer?
Problem
I am unable to type (Control A) characters in a shell script. By using (Ctrl+V) and then (Ctrl+A). I am unable to do so. I am able to give (Ctrl+A) from cli but not in a shell script. I am typing the shell script in vi. What I am trying to do is write a shell script containing the command `sed 's/^A//g'`, i.e. trying to replace (Ctrl+A) with NULL.