grep the process id linux on port code example Example: process runninng on particular port sudo ss -lptn 'sport = :80'