Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux sed Command

Linux sed Command

Linux Command Reference Linux Command Reference

The Linux sed command processes text files using scripts.

sed can process and edit text files according to script commands.

Sed is mainly used to automatically edit one or more files, simplify repeated operations on files, write conversion programs, etc.

Syntax

sed [-hnV][-e