Remove blank lines with grep


Remove blank lines ( new line ) with grep
echo -e "a\n\nb" | grep -v '^ *$'

or

grep -v '^[\s\t]*$' file.txt  > new_file.txt

Check point block a single IP address

  Using Suspicious Activity Monitoring (SAM) Connect to the firewall via SSH and log into Expert mode : expert Run the fw sam command to bl...

Mais vistos