"Bookmark" common Terminal routine (or something...)

Discussion in 'Mac Help/Tips' started by cleo, May 19, 2002.

  1. cleo macrumors 65816

    cleo

    Joined:
    Jan 21, 2002
    Location:
    Tampa Bay Area, FL, USA
    #1
    Sorry, I had no idea what to title this post.

    I telnet into my school's system a number of times every day (especially when I'm stalking a hot girl... nothing like the "finger"... heh heh :D). Anyway, is there a way I can make it so I just click an icon on the dock and it automatically runs the telnet command? (Even better, can I tell it to automatically type in my user id and password, like some MUD clients will?)
     
  2. Choppaface macrumors 65816

    Joined:
    Jan 22, 2002
    Location:
    SFBA
  3. cleo thread starter macrumors 65816

    cleo

    Joined:
    Jan 21, 2002
    Location:
    Tampa Bay Area, FL, USA
    #3
    Umm... what exactly is that... and how do I do it?
     
  4. arn macrumors god

    arn

    Staff Member

    Joined:
    Apr 9, 2001
    #4
    Create a text file (bbedit or whatever).... and type in the command you want... for example:

    telnet the.server.name

    save it.

    go to terminal, type "chmod +x filename"

    do Get Info on it, and choose Open With....
    and choose Terminal.

    This will launch terminal and execute that command when u double click on it. You can do it where it will log in for you - but that requires actual script programming...

    arn
     
  5. cleo thread starter macrumors 65816

    cleo

    Joined:
    Jan 21, 2002
    Location:
    Tampa Bay Area, FL, USA
    #5
    Sweet!

    Thanks so much, arn - that was so easy! Rock on.
     
  6. Choppaface macrumors 65816

    Joined:
    Jan 22, 2002
    Location:
    SFBA
    #6
    if you add the file extention .command instead of .txt then it will also automatically open up in the terminal when double clicked
     
  7. mmmdreg macrumors 65816

    mmmdreg

    Joined:
    Apr 14, 2002
    Location:
    Sydney, Australia
    #7
    Re: "Bookmark" common Terminal routine (or something...)

    I thought you were a girl..
     
  8. cleo thread starter macrumors 65816

    cleo

    Joined:
    Jan 21, 2002
    Location:
    Tampa Bay Area, FL, USA
    #8
    Re: Re: "Bookmark" common Terminal routine (or something...)

    I am ;)
     

Share This Page