?
Solved

having trouble with vi editor

Posted on 2013-01-04
3
Medium Priority
?
316 Views
Last Modified: 2013-01-04
I am using vi editor to edit file on the UNIX server. In vi editor x deletes a character and dd deletes a whole line.

Sometimes both x and dd work for me and sometimes when I hit x it just types in 'x' character. How do i switch back and forth between being able to type and using UNIX shortcuts?
0
Comment
Question by:YZlat
[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
  • 2
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 38745057
Hit <ESC> for command mode, <i> for insert mode, <r> for replace mode, <ESC>: to go to command line.
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 38745065
Sorry, <R> for replace mode.
0
 
LVL 35

Author Closing Comment

by:YZlat
ID: 38745074
Thanks!
0

Featured Post

Industry Leaders: 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!

Question has a verified solution.

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

Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

800 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