sed
sed
stands for stream editor. The operations do not modify the original file, they just printed as stdout.
Option
Description
s
substitution (replace)
g
global (across the whole file)
d
delete line
p
print line
-i
inplace changes
Deletion
Substitution
Filtering
Last updated
Was this helpful?