ports
Synopsis
Section titled “Synopsis”portsDescription
Section titled “Description”Lists all active TCP listeners on the system using lsof, showing port numbers and addresses without hostname resolution.
Exit Status
Section titled “Exit Status”1 |
lsof is not installed |
2 |
Unexpected argument (takes none) |
* |
Exit status of lsof otherwise |
Example
Section titled “Example”portsDependencies: lsof