LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   deletion of line above the cursor position. (http://www.linuxquestions.org/questions/linux-newbie-8/deletion-of-line-above-the-cursor-position-633795/)

dina3e 04-07-2008 08:54 PM

deletion of line above the cursor position.
 
what ever deletion command we are using it's operation on the downword only i want to delete lines / words previous to the cursour or above to the line. i am not find out such things on the command shall you help ?

prad77 04-07-2008 09:41 PM

Are working in VI editor?
If so,
dw - deletes the word after the cursor
db - deletes the word before the cursor
x - Delete current cursor position
X - Delete back one character
nX - Delete previous n characters

http://www.unix-manuals.com/refs/vi-ref/vi-ref.htm

Otherwise , tell us more about your environment.

Gentoo


All times are GMT -5. The time now is 02:26 PM.