Enough Ed to Survive on the FreeBSD, Linux, NetBSD, and OpenBSD Command Line.

Delete a range of lines

Switch to command mode.

Move to the line you want to remove.

Type 7,98d (Another way to do it is to type ,d)

Hit the Enter/Return key to delete lines 7 through 98.

Example:

:: To read the rest of this book for free, log in to Facebook.

:: next :: Search for a string
:: Table of Contents
:: previous :: Delete all lines

 


 

$4.99

Get it on Kindle

(Amazon.com may add a delivery charge.)

FREE

Read this book for free on Facebook

© Copyright 2003–2017 Jacek Artymiak. All rights reserved.