Skip to main content
added 19 characters in body
Source Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 264

egrep -v "^#|^$" anyfile.txt

egrep -v "^#|^$" anyfile.txt

this command is to grep all info in file excluding comments and blank lines.

egrep -v "^#|^$" anyfile.txt

this command is to grep all info in file excluding comments.

egrep -v "^#|^$" anyfile.txt

this command is to grep all info in file excluding comments and blank lines.

Source Link

egrep -v "^#|^$" anyfile.txt

this command is to grep all info in file excluding comments.