SP2-0110: Cannot create save file & quot;afiedt.buf"
Sp2-0110: unable to create save file "afiedt.buf"
Source: this problem is due to the error of using ed to change the Times when using define _ editor=vim
Cause of problem: Cannot create save file "afiedt.buf"
Because when executing edit, the "afiedt.buf" file is saved by default in the directory where you typed the sqlplus command.
For example, if you enter sqlplus in the / directory, when you use edit, the "afiedt.buf" file will be saved to the / directory.
But the oracle user does not have permission to write data in the / directory, so an error will be reported!
Therefore, you should go to the oracle permission before entering sqlplus.