Posted in Command Line, Linux Grep using Sed Binny V A April 6, 2008 Leave a Comment on Grep using Sed View only lines that contain the word “string” sed -n '/string/p' Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.