sunsolaris

In sunsolaris

if we are using vi editor..
how we will remove all characters from the cursor towards the end
thomaslijuAsked:
Who is Participating?
 
Reza_aCommented:
Press "d"  then "$"  will delete until end of the line
Pressing "d" then "G" will delete until end of the file.
0
 
Brian UtterbackPrinciple Software EngineerCommented:
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
 
thomaslijuAuthor Commented:
options helped.

Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.