NAME
sed—Stream-oriented editor

SYNOPSIS
sed [ -hnV ][-e script ][-f script-file ][–help ][–quiet ][–silent ][–version][–expression=script ][–file=script-file ][file … ]

DESCRIPTION
sed reads the specified files or the standard input if no files are specified, makes editing changes according to a list of commands, and writes the results to the standard output.

OPTIONS

OptionsDescription
-h, –helpPrint a usage message on standard output and exit successfully.
-n, –quiet, –silentSuppress the default output. sed only displays lines explicitly specified for output with the p command or the p flag of the s command. The default behavior is to echo each line of input, after edits, to the standard output.
-V, –versionPrint the version number on the standard output and exit successfully.
-e script, –expression=scriptAppend one or more commands specified in the string script to the list of commands. If there is just one -e option and no -f options, the -e flag may be omitted.
-f script-file, –file=script-fileAppend the editing commands from script-file to the list of commands.

Multiple -e and -f commands may be specified. Scripts are added to the list of commands to execute in the order specified, regardless of their origin.

If You Like What We Do Here On LinuxConcept, You Should Consider:

Stay Connected to: Twitter | Facebook

Subscribe to our email updates: Sign Up Now

 

We are thankful for your support.

Follow me

SATISH KUMAR

I am Satish Kumar, Founder of LinuxConcept. Linux and F.O.S.S enthusiast, love to work on open source platform and technologies.
Follow me