New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

help with basic shell scripting

Post Reply New Thread Subscribe

Thread Tools

Member Since: Jun 11, 2007
Posts: 3
jrcal is on a distinguished road

jrcal is offline

I'm pretty new to unix, I'm trying to automate some basic shell commands.

I would like to be able to double-click in icon in Mac OS X and have the following commands run:

$ ssh me@ esd

$ esdrec | esdcat -s

The first starts the remote box listening for an esound connection, the second command starts the esound server on my Mac. When I run either of these manually from terminal(s), the commands are executed and the terminal cursor flashes without giving me a new command prompt, which is fine. I.E. I have to run them in separate windows.

Ideally, I'd like to just click an icon, have both run and not need terminal windows up. I know that if I run the second command on the Mac, then close the terminal, the process ends.

I've tried making basic shell scripts (with .command and executable permissions), using Automator, etc., and can't seem to get it right. Any suggestions?



Macbook Pro, 10.4.9
ssh-ing to an Ubuntu Feisty box.
QUOTE Thanks

Post Reply New Thread Subscribe

« OSX Keyboard Wedge | ifconfig - how to setup automatically »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Help w/ Basic Keyboard Shortcuts randalgilliam Switcher Hangout 3 07-24-2007 05:49 PM
Shell scripting badmuthahubbard OS X - Development and Darwin 1 09-13-2006 04:16 AM
Unable to access garageband pluggins Hybrid Basic; Hybrid Morph in Logic Express 7.1 johnny1_blue Music, Audio, and Podcasting 0 05-29-2006 12:27 PM
OS X Tiger shell vs RedHat Fedora Linux shell? AlexN OS X - Operating System 2 09-17-2005 07:08 PM
looking for a terminal emulator and command shell in Mac OSX CandiMarie OS X - Operating System 9 03-05-2004 03:53 PM

All times are GMT -4. The time now is 07:59 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?