Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
How-To run a script?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="xstep" data-source="post: 498229" data-attributes="member: 11647"><p>You could place the following 3 lines into a file and then using the Info panel set the file to be opened in Terminal App when double clicked.</p><p></p><p>#!/bin/bash</p><p>telnet 10.1.0.102</p><p>exit</p><p></p><p></p><p>You'll also have to, from the terminal type the followling after you have created the file. I named mine termit.bash. The file needs execute permissions for the people who will run it. You'll need to do this and the ab ove Terminal App association for each system you copy it to.</p><p></p><p>chmod ugo+x termit.csh</p></blockquote><p></p>
[QUOTE="xstep, post: 498229, member: 11647"] You could place the following 3 lines into a file and then using the Info panel set the file to be opened in Terminal App when double clicked. #!/bin/bash telnet 10.1.0.102 exit You'll also have to, from the terminal type the followling after you have created the file. I named mine termit.bash. The file needs execute permissions for the people who will run it. You'll need to do this and the ab ove Terminal App association for each system you copy it to. chmod ugo+x termit.csh [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
How-To run a script?
Top