show processes listening on port code example Example: list process using port sudo lsof -n -i :80 | grep LISTEN