Solved

having trouble with vi editor

Posted on 2013-01-04
3
306 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
  • 2
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 125 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

744 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