Sample Header Ad - 728x90

How to switch from input mode into command mode in ed?

0 votes
2 answers
1867 views
As far as I know, ed starts in command mode. Once I input i, a or c, ed changes into input mode. So far it worked. Now I read that in order to switch from input mode into command mode one has to input , and Enter. I tried so, but it did not work, I stayed in input mode and had to quit the program with Ctrl+Z without the opportunity to write the text in the buffer onto hard disk. I am using Linux Mint and the Xfce terminal, how can I switch into command mode?
Asked by Abdul Al Hazred (27610 rep)
Mar 5, 2015, 10:34 PM
Last activity: Nov 15, 2021, 08:56 AM