In case you wonder how to use command line utils like ifconfig or netstat in you IOS devices (iPhone), install these package below via Cydia:
adv-cmds - finger, fingerd, last, lsvfs, md, ps diskdev-cmds - mount, quota, fsck, fstyp, fdisk, tunefs network-cmds - arp, ifconfig, netstat, route, traceroute shell-cmds - killall, mktemp, renice, time, which file-cmds - chflags, compress, ipcrm, ipcs, pax system-cmds - iostat, login, passwd, sync, sysctl basic-cmds - msg, uudecode, uuencode, write
Credit:
http://forums.whirlpool.net.au/archive/1718105