Solved

Vi commands for Fedora 2

Posted on 2004-10-06
3
1,744 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

740 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