1
How can I use netstat -c option with grep without repeating the info?
Example:
sudo netstat -tapc (works fine)
I want to do the same but only for the http lines:
sudo netstat -tapc | grep http
The code above generates duplicated lines.
How to track the -tapc info only for the http lines?