Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1769
  • Last Modified:

Vi commands for Fedora 2

This is a ridiculous question but I cannot find any documentation and 'man vi' doesn't provide much help.
But I'm using Fedora 2 and I need help with editting commands.  In Rh 9.0, to edit a file its 'vi <file_name> then you press 'i' to edit the file (insert, delete, etc).  So what is the command to edit/manipulate a file in Fedora 2??
Vi version is 6.2

Thanks for the help.
Chigs
0
chigs20
Asked:
chigs20
1 Solution
 
owensleftfootCommented:
Its the same. You can run the command vimtutor for a basic tutorial or press esc,:help & enter to get help from within vi. For basic editing its vi filename, i to insert as you said and :wq to write the file and exit.
0
 
avizitCommented:
In Fedora , "vi" might be a link to "vim" which is basically VI Improved(?)

so you can check vim manpage , anyway almost all of the commands should be the same

you can check vim manpage at

http://www.netadmintools.com/html/1vi.man.html
0
 
mmarthaCommented:
Actually, yes, VIM stands for Vi IMproved.

Some usefull commands can be found here:
http://www.geocities.com/h2lee/vim.html

and for unix vi... http://www.chem.brown.edu/instructions/vi.html

which should be practically the same, but maybe you find some differences.

good luck. :)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now