Posts

Showing posts from May, 2008

Network configuration files

/etc : This directory contains most of the basic Linux system-configuration Files /etc/sysconfig : Contains important system configuration files that are created and maintained by various services (including iptables, samba, and most networking services) /etc/sysconfig/network : Network configuration file used by the system during the boot process. /etc/sysconfig/network-scripts : Configuration files that are run during boot process related to setting up of your network. /etc/xinetd.d : Contains a set of files, each of which defines a network service that the xinetd daemon listens for on a particular port. /etc/resolv.conf : Host name resolver configuration file. This configures Linux so that it ...

Basic Linux networking commands

Command w : Shows who is currently logged in system Command who : shows who is on logged in on the server in an shell Command netstat : Shows all current network connections Command netstat -apn : Shows all connections to the server, the source and destination ips and ports Command netstat -rn : Shows routing table for all ips bound to the server Command top : Shows live system processes in a formatted table, memory information, uptime and other useful info While in top, Shift + M to sort by memory usage or Shift + P to sort by CPU usage Command top -u root : Show processes running by user root only Command route -n : Shows routing table for all ips bound to the server Command nslookup yahoo.com : Query your default domain name server (DNS) for an Internet name (or IP number) host_to_find Command traceroute yahoo.com : Have a look how you messages travel to yahoo.com Command tracepath yahoo.com : Performs a very similar function ...

hi friends

Image
hi friends i have created the blog for people who are interested in Linux and networking