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

Delete all lines

Switch to command mode.

Move to the line you want to remove.

Type 1,$d (Another way to do it is to type ,d)

Hit the Enter/Return key.

Example:

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

:: next :: Delete a range of lines
:: Table of Contents
:: previous :: Delete the current line

 


 

$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.