vi
You type "vi filenameyouwanttoedit" on the command line. I recommend getting a book for more details. We certainly can't teach you everything there is to know about vi here.
Shift-g / capital G
In Normal mode, just hit the X key to delete the currently-highlighted character.
These are Unix and Linux text editor programs.
You want to do that from command line? Create folder DATA with mkdir DATA. (You should have permissions to create it) If you want to create an empty file, just say touch DATA/myfile.txt Or you can use the vi editor to write to the file (vi will open the file if it exists else will create that file for you), just type vi DATA/myfile.txt You may need to learn some vi keys before you try that. On Linux, try vimtutor! And just in case you think it is boring to type DATA/something... do CD DATA after creating the directory (folder) . Enjoy :)
You don't Shell files/programs are not compiled. If you want to run a process through 'vi' then use the ':!' 'ex' command to shell out and execute it.
VI Bomber Command was created in 1941.
VI Bomber Command ended in 1946.
There are several ways to read a text file. You can use one of several text editors, including vi, vim, emacs, joe, and nano. You can also parse it through the cat command like this: cat nameoffile.txt | less
Vi
The one editor that is absolutely certain to be available on every Linux and Unix distribution is 'vi'. The 'vi' editor is not only the world's greatest editor, it is absolutely ubiquitous in the Unix and Linux world. There are other editors on many Linux systems including many graphical editors, but none hold a candle to 'vi', at least in my humble opinion.NOTE: The 'vi' editor was written by Bill Joy.
The Linux 'vi editor' is an editor that is text based. It can be used like notepad in Windows based systems. It can also be used for editing configuration files.