Remove comments and empty lines with grep

  • Post by Mike Dixson
  • Nov 03, 2015
post-thumb

Remove comments and empty lines with grep

grep -v -e ^# -e ^$ filename
LATEST POST
  • Post By Mike Dixson
  • Nov 17, 2020
Using MFA for Sudo Only
  • Post By Mike Dixson
  • Jul 25, 2020
Fixed: Obelisk not working in Ableton Live
  • Post By Mike Dixson
  • Jun 15, 2020
BYOBU files being flagged by rkhunter
TAG