Ubuntu – I want to replace something in a file by a match
In my ubuntu instance I have a file which looks like this, actually is not a file but an output of the following command: cat wghub.conf | egrep '.conf|AllowedIPs' | grep -v configuration | awk '{print $3}'|cut -d "/" -f1|tr…