better grep and get rid of empty file
This commit is contained in:
parent
4d8d7a6d66
commit
5a24555c5c
@ -9,7 +9,7 @@ lists programs with port numbers: `sudo netstat -tup`
|
||||
sudo lsof +M -i4 -i6
|
||||
|
||||
# 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:
|
||||
https://certbot.eff.org/lets-encrypt/ubuntubionic-apache
|
||||
|
Loading…
Reference in New Issue
Block a user