As we all know that we have use VI editor in Linux Ubuntu for making text files,shall script files and c++ program files and etc.
some times we open the VI editor and don't know how to close it without saving the files so there is two different ways to exit the VI text editor without saving the file :-
1. Just press "ctrl+z "
2. First press ESC key then press : (colon) then q then ! then enter as below
:q! then enter
some times we open the VI editor and don't know how to close it without saving the files so there is two different ways to exit the VI text editor without saving the file :-
1. Just press "ctrl+z "
2. First press ESC key then press : (colon) then q then ! then enter as below
:q! then enter
No comments:
Post a Comment