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

Insert text before line n

Switch to command mode.

Type the number of the line you want to add text after followed by i

Hit the Enter/Return key.

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


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

:: next :: Insert text at the beginning of the file
:: Table of Contents
:: previous :: Insert text before the current line




Get it on Kindle

(Amazon.com may add a delivery charge.)


Read this book for free on Facebook

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