View only lines that contain the word “string”
sed -n '/string/p'
Posted in Command Line, Linux | No Comments »