Red-hat

Hello,
How do I see what IP addresses are connected to my machine?
thanks

netstat -an

or try

 lastlog 
 more /var/log/lastlog 

:wink: