Solved

Vi commands for Fedora 2

Posted on 2004-10-06
3
1,727 Views
Last Modified: 2013-12-13
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
Comment
Question by:chigs20
3 Comments
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 200 total points
ID: 12240080
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
 
LVL 11

Expert Comment

by:avizit
ID: 12240830
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
 
LVL 2

Expert Comment

by:mmartha
ID: 12241088
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org (http://seleniumhq.org) Go to that link and select download selenium in the right hand columnThat will then direct you to their downlo…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now