1.

To return back to the editor from shell prompt we use _____ command.(a) fg(b) exit(c) back(d) fg and exitThe question was asked during a job interview.My question is taken from Vi-Ex Mode in chapter The Vi Editor of Unix

Answer»

Right OPTION is (d) fg and exit

Explanation: To run to your EDITOR, we can USE either fg command or exit command. It depends on the way we escape to the UNIX shell. If we had escaped using ‘:sh’ then use exit command or ctrl-D to RETURN to the editor and if you had used ctrl-Z then use fg command to return to the editor.



Discussion

No Comment Found

Related InterviewSolutions