?
Solved

sunsolaris

Posted on 2014-02-26
3
Medium Priority
?
114 Views
Last Modified: 2014-10-15
In sunsolaris

if we are using vi editor..
how we will remove all characters from the cursor towards the end
0
Comment
Question by:thomasliju
[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 22

Expert Comment

by:blu
ID: 39889967
End of the line, or end of the file? To delete from the cursor to the end of the line, simply type capital "D". After that, if you want to delete from the next line to the end of the file (assuming you are not already at the last line of the file) type "j" followed by ":.,$d" and the press carriage return.
0
 
LVL 1

Accepted Solution

by:
Reza_a earned 2000 total points
ID: 39891057
Press "d"  then "$"  will delete until end of the line
Pressing "d" then "G" will delete until end of the file.
0
 

Author Closing Comment

by:thomasliju
ID: 40383648
options helped.

Thank you.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

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…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

741 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