Exercise: Telnet or SSH to Unix machines


Pick a Unix/Linux machine your are using and write a script that will telnet or ssh to it, execute report what network cards does it have (ifconfig on Linux) and what is its routing table (route -n on Linux).