Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 4 of 4
  1. #1
    huck is offline Registered User
    Join Date
    Mar 2002
    Location
    Philadelphia
    Posts
    102
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Script to open terminal and launch telnet

    Since i know nothing about UNIX, i was wondering if somone would like to write a script for me.

    I want to be able to open a new terminal window and have telnet open. All i want to do is to be open to open the new window and input an ip address.

    I'm checking to see that all routers on network have pswd. I'm simply just running down a list of IP's

    Anyone interested?

    Peace.

    Ver

  2. #2
    kwalker is offline Registered User
    Join Date
    Nov 2000
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you're willing to type 7 extra characters in addition to the IP address, try the following:

    (1) Launch the terminal application (it's in /Applications/Utilities/)

    (2) Type 'telnet 123.456.78.90' (without the quotes; substitute the actual IP address for 123.456.78.90).

  3. #3
    huck is offline Registered User
    Join Date
    Mar 2002
    Location
    Philadelphia
    Posts
    102
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanx for the help...but that is what i have been doing.

    Peace.

    Ver

  4. #4
    Excalibur's Avatar
    Excalibur is offline Registered User
    Join Date
    Sep 2001
    Location
    Bay Area, CA
    Posts
    146
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Telnet Applescript

    Open the Script editor. and cut and paste this code.

    Code:
    set myIP to text returned of (display dialog "Input IP Address" 
    buttons {"Ok", "Cancel"} default answer "" default button {"Ok"})
    
    tell application "Terminal"
    	activate
    	do script "telnet " & myIP
    end tell
    It will prompt you for an IP then run telnet via the terminal with that IP for you. If that is what you are asking, here you go.
    Last edited by Excalibur; September 17th, 2002 at 07:51 PM.

    .: Quicksilver G4 1.33GHz: OSX 10.4.1: Radeon9800Pro: 1.5GB: 80GB
    .: Al 15" 1.25GHz: 10.4.1: Radeon9600Mobility: 512MB: 80GB: Superdrive: AE: Bluetooth
    .: www.excalibur-design.com :.
    .: End of line...

 

 

Similar Threads

  1. [HOWTO] - Launch and run VNC server remotely
    By simon1663 in forum HOWTO & FAQs
    Replies: 12
    Last Post: April 8th, 2005, 08:05 AM
  2. help with terminal launch script
    By kon21 in forum Mac OS X System & Mac Software
    Replies: 0
    Last Post: November 6th, 2003, 12:59 AM
  3. Can terminal be a part of desktop?
    By qwikstreet in forum Unix & X11
    Replies: 6
    Last Post: May 12th, 2003, 12:33 PM
  4. Terminal slow to launch (Continued from Classic forum)
    By Wilsonium in forum Mac OS X System & Mac Software
    Replies: 19
    Last Post: May 26th, 2002, 11:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •