Network Related Commands, Tools and Files
Also see the General Info Page for a more complete command list.
Configuration commands and tools:
Note: See Man pages for use; you may need to use the locate command to find some of these.
- netconfig (set up initial networking)
- hostname (your fully qualified host name)
- ipchains (firewall and masqarading)
- iptables (firewall and masqarading)
- mount (check what remote file systems are mounted)
- chkconfig (this controls which scripts run at bootup)
- netconfig -set up networking
- netconf -configure networking
- netstat -lots of info re routing, etc.
- tcpdump -dumps all tcp traffic to screen
- ifconfig -displays or manipulates the network interfaces
- ifup -use to activate a singe interface, as opposed to using /etc/ini.d/network start
- ifdown -use to stop a singe active interface, as opposed to using /etc/ini.d/network stop
- nslookup -get information from name servers (replaced by host or dig)
- host -DNS lookup utility
- dig -send domain name query packets to name servers
- pump -configure net interface using DHCP protocol
- whois -retrieves info on domains by name, also see whois.arin.net for lookup via IP
Network Related Files (some of many)
To view or edit network card configuration files look in /etc/sysconfig/network-scripts/
If you have loaded your network cards as modules you can view or edit the driver, IRQ and I/O in /etc/conf.modules
Other network related files:
/etc/hosts
/etc/hosts.allow and hosts.deny
/etc/exports
/etc/named.conf and the directory it references if running DNS server
/etc/inetd.conf
/etc/nsswitch.conf
/etc/resolv.conf
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ and inclosed files
Page Created September 2000.
Minor update October 2001.