How to see active network connections

Yep,as topic says how to see the active network connections with software/terminal ?

1 Like
man ip
1 Like

Sry,but i forgot to mention that i need to see the active connections.
Thanks.

ip a | grep -e ' state UP'
1 Like

I recieve only this :

2: enp2s6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000

Short questions gets short answers.

What do you expect?

You get the command to display network info - then you get the one for the active connection.

Check a search engine and if you have specific questions you can ask

https://duckduckgo.com/?q=linux+display+network+statistics

1 Like

Is it exist software to check all active connections.
Its a bit hard for me with that terminal commands.
Sry for the foolish question,but im very new to linux. :slight_smile:

To see the active connections you can use the following command:

sudo ss -tnp

where
t is for tcp connections
n is for numeric output only
p is for display connected process

to see your local server processes you might at an l to the option list

3 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.