add ports to lsof command

This commit is contained in:
Greg Gauthier 2021-03-08 18:06:52 +00:00
parent 3859176a52
commit 905000670e
2 changed files with 1 additions and 2 deletions

Binary file not shown.

View File

@ -31,10 +31,9 @@ func execute(cmdstr string) {
}
func main() {
execute("/usr/sbin/lsof -iTCP -sTCP:LISTEN")
execute("/usr/sbin/lsof -iTCP -sTCP:LISTEN -P")
execute("gcc --version")
execute("java -version")
execute("python3 --version")
execute("php --version")
}