better grep and get rid of empty file

This commit is contained in:
Paul Trowbridge 2020-09-13 12:43:12 -04:00
parent 4d8d7a6d66
commit 5a24555c5c
2 changed files with 1 additions and 1 deletions

View File

View File

@ -9,7 +9,7 @@ lists programs with port numbers: `sudo netstat -tup`
sudo lsof +M -i4 -i6 sudo lsof +M -i4 -i6
# list all established connection that are not internal only" # list all established connection that are not internal only"
sudo sockstat | grep "ESTAB" | grep -v "127.0.0.1.*127.0.0.1" | grep -v "192.168.1.110.*192.168.1.110" sudo sockstat | grep "ESTAB" | grep -v ".*192\.168\.1\.110.*192\.168\.1\.110.*" | grep -v ".*127\.0\.0\.1.*127\.0\.0\.1.*"
let's encrypt certbot instructions for apache: let's encrypt certbot instructions for apache:
https://certbot.eff.org/lets-encrypt/ubuntubionic-apache https://certbot.eff.org/lets-encrypt/ubuntubionic-apache