Linux Server and Workstation Configuration How To

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
Home Commands Others Network Information and Configuration Commands
Network Information and Configuration Commands PDF Print E-mail
Wednesday, 02 December 2009 18:19
AddThis Social Bookmark Button
Configure Network # netconfig Get Network Status # netstat
# ifconfig
Get Route Information # route Get Network Cards # lspci | grep -i ethernet Dump TCP Packages to View # tcpdump Dump TCP Packages Into /root/tcpdump.txt # tcpdump >> /root/tcpdump.txt Manage Network Service # /etc/init.d/network restart # service network status
# service network start
# service network stop
# service network restart
Firewall # service iptables status
# service iptables start
# service iptables stop
# service iptables restart
Get Connections # netstat -ntu Detailed Network Connections Information # netstat -nap
# netstat -ntulp
Detailed Network Connections Information # lsof -i -n -P Check Port : 9991 for ip 83.139.15.58 # nmap -v -p 9991 83.139.15.58 Get Port Information. (9111 is the port) # cat /etc/services | grep 9111 Check the 834 Port # netstat -anp | grep 834 Check the 834 Port and Get Service Running # lsof -i | grep 834
 

Add comment


Security code
Refresh

Useful Links

Follow us on ...

  • Digg: hgevs
  • Facebook Page: 180986722511
  • Linked In Group: 2571120
  • Ning: linuxconfignet
  • Twitter: linuxconfignet

Friends

Thanks David Ayvazyan for provided useful information and discussions.
www.gnu.am (Armenian Translation)