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

cleo

macrumors 65816
Original poster
Jan 21, 2002
1,186
0
Tampa Bay Area, FL, USA
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?)
 

arn

macrumors god
Staff member
Apr 9, 2001
14,331
1,612
Originally posted by cleo


Umm... what exactly is that... and how do I do it?
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
 

Choppaface

macrumors 65816
Jan 22, 2002
1,187
0
SFBA
if you add the file extention .command instead of .txt then it will also automatically open up in the terminal when double clicked
 

mmmdreg

macrumors 65816
Apr 14, 2002
1,393
0
Sydney, Australia
Re: "Bookmark" common Terminal routine (or something...)

Originally posted by cleo
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).
I thought you were a girl..