I was lazy to telnet my Lab one by one so I search from google some solution for my lazy butt..
This was script I was found :
#!/bin/bash # — start multi-tabbed telnet session web="telnet localhost 2002" web2="telnet localhost 2004" r1="telnet localhost 2005" r2="telnet localhost 2006" r3="telnet localhost 2007" r4="telnet localhost 2008" dsw1="telnet localhost 2011" dsw2="telnet localhost 2009" asw1="telnet localhost 2017" asw2="telnet localhost 2001" pc1="telnet localhost 2003" ftp="telnet localhost 2000" gnome-terminal \ --window --maximize -e "$web" -t WEB \ --tab -e "$web2" -t WEB2 \ --tab -e "$r1" -t R1 \ --tab -e "$r2" -t R2 \ --tab -e "$r3" -t R3 \ --tab -e "$r4" -t R4 \ --tab -e "$dsw1" -t DSW1 \ --tab -e "$dsw2" -t DSW2 \ --tab -e "$asw1" -t ASW1 \ --tab -e "$asw2" -t ASW2 \ --tab -e "$pc1" -t PC1 \ --tab -e "$ftp" -t FTP ## ended here
Advertisement