This is a passive-agressive project. Sigil doesn't matter, and it's not impressive. Actually, it's quite disappointing. It's just a nice wrapper for the lsof command intended to show occupied ports and their respective processes on the operating system.
"Don't be Lazy or Sad. Be Lazy and Sad" - Matheus Fidelis (@fidelissauro)
“How to avoid google every time you want to check a port” - Sergio Soares (@sergsoares)
Sigil only works on Linux and MacOS.
wget https://github.com/msfidelis/sigil/releases/download/v0.0.2/sigil_0.0.2_darwin_arm64 -O sigil
mv sigil /usr/local/bin
chmod +x /usr/local/bin/sigil
wget https://github.com/msfidelis/sigil/releases/download/v0.0.2/sigil_0.0.2_darwin_amd64 -O sigil
mv sigil /usr/local/bin
chmod +x /usr/local/bin/sigil
wget https://github.com/msfidelis/sigil/releases/download/v0.0.2/sigil_0.0.2_linux_amd64 -O sigil
mv sigil /usr/local/bin
chmod +x /usr/local/bin/sigil
wget https://github.com/msfidelis/sigil/releases/download/v0.0.2/sigil_0.0.2_linux_arm64 -O sigil
mv sigil /usr/local/bin
chmod +x /usr/local/bin/sigil
wget https://github.com/msfidelis/sigil/releases/download/v0.0.2/sigil_0.0.2_freebsd_amd64 -O sigil
mv sigil /usr/local/bin
chmod +x /usr/local/bin/sigil
wget https://github.com/msfidelis/sigil/releases/download/v0.0.2/sigil_0.0.2_freebsd_arm64 -O sigil
mv sigil /usr/local/bin
chmod +x /usr/local/bin/sigil
kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Usage:
sigil [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
listening Show host ports that are active and accepting connections
Flags:
-h, --help help for sigil
Use "sigil [command] --help" for more information about a command.
Work's with --tcp flag too. This is a default option because i'm tired.
sigil listening
+------+-------+-----------+----------+
| PID | PORT | PROCESS | PROTOCOL |
+------+-------+-----------+----------+
| 3731 | 49508 | Notion | TCP |
+------+-------+-----------+----------+
| 4369 | 15443 | com.docke | TCP |
+------+-------+-----------+----------+
| 4369 | 30021 | com.docke | TCP |
+------+-------+-----------+----------+
| 4369 | 31027 | com.docke | TCP |
+------+-------+-----------+----------+
| 4369 | 31624 | com.docke | TCP |
+------+-------+-----------+----------+
| 4369 | 61606 | com.docke | TCP |
+------+-------+-----------+----------+
| 4369 | 15021 | com.docke | TCP |
+------+-------+-----------+----------+
| 4369 | 30080 | com.docke | TCP |
+------+-------+-----------+----------+
| 4369 | 30443 | com.docke | TCP |
+------+-------+-----------+----------+
| 4369 | 443 | com.docke | TCP |
+------+-------+-----------+----------+
| 4369 | 80 | com.docke | TCP |
+------+-------+-----------+----------+
| 4369 | 8080 | com.docke | TCP |
+------+-------+-----------+----------+
| 4369 | 15012 | com.docke | TCP |
sigil listening --udp
+-----+-------+----------+----------+
| PID | PORT | PROCESS | PROTOCOL |
+-----+-------+----------+----------+
| 471 | 62524 | chronod | UDP |
+-----+-------+----------+----------+
| 483 | 63720 | sharingd | UDP |
Read this horrible code and send the PR
sudo we don't need tests