Solved

Vi commands for Fedora 2

Posted on 2004-10-06
3
1,731 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
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.

914 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

16 Experts available now in Live!

Get 1:1 Help Now