Changes

Jump to navigation Jump to search
127 bytes added ,  14:18, 22 January 2020
m
Line 62: Line 62:  
==Grep with blanks==
 
==Grep with blanks==
 
  cat dig_output.txt | grep -E 'IN[[:blank:]]A'
 
  cat dig_output.txt | grep -E 'IN[[:blank:]]A'
 +
 +
== Grep remove comments and blank lines ==
 +
<syntaxhighlight lang="bash">
 +
cat file.txt | grep -v ^\#|grep .
 +
</syntaxhighlight>

Navigation menu