How to fix an openstack drive stuck on deleting.
Grep a file for everything but a word
To exclude a single word:
the following will print everything but lines containing "excludedword"
grep -v excludedword
The following is a working example of pipeing to grep and exluding each line with the ip address 188.8.131.52:
sudo tcpdump | grep -v 184.108.40.206
To Exclude multiple words:
grep -v -e word1 -e word2
Piping to grep example:
sudo tcpdump | grep -v -e 220.127.116.11 -e 18.104.22.168
or on a text file:
grep -v -e 22.214.171.124 -e 126.96.36.199 iplist.txt