How do I reduce grep output?

Tiên Hương

New member
How do I reduce grep output?
Answer
To hide the output of any command usually the stdout and stderr are redirected to /dev/null . Silent grep : grep -q “string” match the string silently or quietly without anything to standard output. It also can be used to hide the output.
 

Tìm kiếm

Back
Top