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

Append text after line n

Switch to command mode.

Type the number of the line you want to add text after followed by (a).

Hit the Enter/Return key.

Start typing away, e.g. to add text after the line no. 2, type 2a, hit the Enter/Return key, and start typing.

Example:

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

:: next :: Append text to the end of the file
:: Table of Contents
:: previous :: Cursor movement

 


 

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