Thread: Terminal Script...
05-26-2008, 11:59 PM #1
- Member Since
- Jun 05, 2007
- Ypsilanti, MI
- 15" MBP 2.4GHz 4GB, iPod Classic 120GB
I do not know many terminal commands but I am looking for an easy way to start my ventrilo server. right now I have to open terminal go to the ventrilo directory and drag the ventrilo_srv file onto the terminal window to start the server.
I want to know if there is a way to write up a script that will automatically do this for me and I just have to run the script to start the server, similar to windows batch command I guess I am looking for. thanks in advance
05-27-2008, 02:33 PM #2
- Member Since
- Sep 18, 2007
- Gateway2000 P5-60. 66Mhz and 128 MB RAM.
The only thing I have been able to find is by entering the command, highlighting it, then going to Services> Script Editor. I keep getting Syntax Errors though. You can give it a shot.
05-27-2008, 11:12 PM #3
Possibly something like this:
#!/bin/sh cd path-to-ventrilo.directory command to start server &
chmod +x filename
Now all you need to do is open Terminal and type ./filename and the server should start.
This is called a shell script. For more info on scripts try here: http://linuxcommand.org/
If what you want is something double-clickable, someone else who knows Apple scripting (not me) might can help?Craig Domingue
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By rickwiker in forum OS X - Operating SystemReplies: 0Last Post: 02-10-2015, 11:37 PM
By kevinaboyette in forum OS X - Operating SystemReplies: 0Last Post: 08-23-2013, 12:19 AM
By weasel360 in forum OS X - Apps and GamesReplies: 5Last Post: 08-13-2012, 04:39 PM
By Straitsfan in forum OS X - Apps and GamesReplies: 0Last Post: 01-30-2011, 09:04 PM
By ebay in forum Running Windows (or anything else) on your MacReplies: 7Last Post: 04-28-2008, 06:43 PM