10/25/2009 09:15:00 AM

Some useful Linux Commands

Display current config for all NIC's: ifconfig

Display current config for eth0: ifconfig eth0

Assign IP: ifconfig eth0 192.168.1.5

Ping: ping -c 4 afcons.com

Disable network card: ifconfig eth0 down

Enable network card: ifconfig eth0 up

View current routing table: route (or) route -n

View arp cache: arp (or) arp -n

Trace Route: traceroute afcons.com

Trace Path: tracepath afcons.com

DNS Test: host afcons.com