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