answersLogoWhite

0

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.

User Avatar

Wiki User

∙ 14y ago

What else can I help you with?

Related Questions

What command is used to open VI in Linux?

vi


What vi command in Linux means go to the end of a file?

Shift-g / capital G


How do you compile and run the shell programs through vi-editor in Linux?

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.


Where can one gain more information about how to use the Linux terminal?

At the command prompt, type 'man [command]' (removing the brackets and substituting the command for which you need information).


What command in Linux do you use to copy files?

cp.


To move to the root directory use the command?

For Unix/Linux, use the command 'cd /' For Windows, you can also use the same command or 'cd \'


What does the k command do in Linux?

k is not a standard command in Linux.


What command do you use to rename the old system file instead of copying it?

For Linux, use the 'mv' command, which is a rename


How do you use tar command of UNIX in vi editor?

You don't. The 'tar' command has nothing to do with the 'vi' editor; it creates an archive files and the vi editor modifies the content of a file.


What command prompt would you use in Linux to see filesystems in use?

mount


What does the c99 command do in Linux?

The c99 command is a wrapper program that actually calls 'cc'. This is the standard c compiler for Linux. Since other Unix based systems use a c99 command to call the compiler with the 1999 standards there is a similar command to do the same thing under Linux.


Linux command to create myfiletxt in the DATA folder?

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 :)