This will be my very first post in this blog!!!
*thunderous applause* *yeah right, I wish*
Posting this more or less to remind myself of the work that I'm suppose to do.
As well as HOW TO DO IT!!!
First task of the day, using VI text editor.
Remember, when you run vi you're in COMMAND mode.
To get to INSERT mode, to do this type i.
Nothing seems to happen, but you're in insert mode now.
To enter COMMAND mode, press the escape <ESC> key.
Important things to remember: (reason I'm writing it down is because I forgot. Lol)
vi commands well... most of them start with a colon (:)
Therefore, the command for saving a file is:
:w
and the command for quitting the editor while discarding changes is:
:q!
to save the file and quit:
:wq
P.S. note to self, need to rewrite this thing. Looks like a piece of junk.
No comments:
Post a Comment