View only lines that contain the word “string”
sed -n '/string/p'
Your email address will not be published. Required fields are marked *
Comment
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.