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>














