Name

write

Synopsis

[address] w ! command

Description

Write lines specified by address to command.

Examples

:1,10w name_list      
                     Copy first 10 lines to name_list
:50w >> name_list     
                     Now append line 50

Get Linux in a Nutshell, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.