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

Copy a range of lines and paste them after the nth line

Switch to command mode.

To copy lines 1 through 3 and paste them after line 2, type: 1,3t2

Switch to command mode.

Type 1,3t2

Hit the Enter/Return key.


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

:: next :: Additional Resources
:: Table of Contents
:: previous :: Copy a range of lines and paste them at the beginning of the current file




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.