Results 1 to 3 of 3
  1. #1

    TheInvsbleMan's Avatar
    Member Since
    Jun 05, 2007
    Location
    Ypsilanti, MI
    Posts
    274
    Specs:
    15" MBP 2.4GHz 4GB, iPod Classic 120GB
    Terminal Script...
    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

  2. #2


    Member Since
    Sep 18, 2007
    Location
    Guam
    Posts
    1,004
    Specs:
    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.

  3. #3

    cradom's Avatar
    Member Since
    Feb 14, 2004
    Location
    Groves, Texas
    Posts
    4,728
    Specs:
    21in. iMac 10.11 --- HP Linux Mint 18
    Possibly something like this:
    Code:
    #!/bin/sh
    cd path-to-ventrilo.directory
    command to start server &
    Type this into a text editor and save it as plain text. Make it executible:
    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?
    Any priest or shaman must be presumed guilty until proved innocent.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Automator will not accept script READS, but Terminal will
    By rickwiker in forum macOS - Operating System
    Replies: 0
    Last Post: 02-10-2015, 11:37 PM
  2. Pausing/Resuming Terminal Script
    By kevinaboyette in forum macOS - Operating System
    Replies: 0
    Last Post: 08-23-2013, 12:19 AM
  3. Terminal command script
    By weasel360 in forum macOS - Apps and Games
    Replies: 5
    Last Post: 08-13-2012, 04:39 PM
  4. Terminal -- shell script -- script will only read two lines of a file
    By Straitsfan in forum macOS - Apps and Games
    Replies: 0
    Last Post: 01-30-2011, 09:04 PM
  5. Terminal.app/bash: Creating An Executable Shell Script
    By ebay in forum Running Windows (or anything else) on your Mac
    Replies: 7
    Last Post: 04-28-2008, 06:43 PM

Posting Permissions

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