468x60 Ads

Monday, August 27, 2012

Pin It

Widgets

VI Editor Quick Reference


















Mostly use commands:Create new file name perlFile.pl or open existing file named perlFile.pl.

#vi perlFile.pl

press letter "i" in the keybord for write to the file
Write what eve you want...

If you want to delete a character under cursor:  move pointer on top to the letter, press <Esc> and press letter "x".
To delete character before cursor: move pointer  before the letter , press <Esc> and   press letter "X".

To delete a line: move the pointer to anywhere in the line , press <Esc> and press the letter "dd".
Delete everything in the file: Press <Ese> ":1,$d" and press <Enter>


Save the file : Press <Ese> "wq!"  and press <Enter>
Quite without saving :Press <Ese> "q!"  and press <Enter>

1 comments:

Anonymous said...

VIVA88: The Video Games of 2019 | Videodl.cc
VIVA88 is one of the most popular and loved video games and video games produced by Telenet Studios. It is based on the first ever Sega Genesis youtube to mp3 converter reviews

Post a Comment