System Management

As root, an administrator must confirm which process is bound to TCP port 8080 in the listening state, even if no clients are currently connected. Numeric output is preferred, with no name resolution. Which command provides this?

Show the answer

Correct answerB. ss -tlnp 'sport = :8080'

The -t -l -n -p flags show listening TCP sockets numerically with owning processes, and sport matches the local port. Filtering on dport matches the remote port, which is a wildcard for listening sockets, so nothing would be returned.