Mac OS X 10.8 add startup command [closed] - macos

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can I add several terminal commands to be run on every start of my Mac OS X 10.8 ?
sample command (Starts MySQL):
"sudo /usr/local/zend/bin/zendctl.sh start-mysql"
is there any tool to simplify such tasks ?

Normally, this would be done using the launchd daemon. There is a gui interface that can help you set things up called lingon here

Related

How do I create an alias for a program on the desktop of multiple users? Mac OSX [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I would like to create an alias on the desktop for FileMaker. I need this alias to show up on each user's desktop on this Mac. We do not use Mac OS X Server. There are just several users on one machine.
You can just use a simple bash script to create symbolic links e.g.
for d in /Users/* ; do
sudo ln -fs /Applications/Filemaker.app $d/Desktop/Filemaker.app
done

Fix $PATH on Mac OS [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I was trying to add a dir to my path environment but somehow things went wrong and now the terminal wont even recongnize the 'ls' command.
How can I reset or fix this?
Thanks.
Do it from another account, if needed by booting in single user mode: http://support.apple.com/kb/HT1492
This presumes that you are familiar with the basics of Unix shells.

Running a sudo command line in the start of Mac OS X [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I am using a Mac OS X - Snow Leopard. And to connect in our CVS we need to start the stunnel.
All time I have to go to "Terminal" and write
sudo /opt/local/bin/stunnel
=> than write the password
In have no idea, so my question is: How I automatic write this command every time that the Mac OS X start? Or in this case, start a program in super-user mode?
Any suggestion?
You should create a startup item (/Library/StartupItems/stunnel/stunnel; see the mysql startup item for guidance on how to set it up) or add a line in /etc/rc.common
It'd be better if you use launchd.
Put /opt/local/bin/stunnel in /etc/rc.common.

Installing gnuplot with Lua-Tikz terminal on Mac Os X [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm on mac os X and I have gnuplot installed via MacPorts.
I want to be able to use the Lua-Tikz terminal (which is kind of present, I can find some gnuplot-tikz.lua files) but I can't. How do I enable gnuplot to use the lua tikz terminal?
I'm willing to uninstall and reinstall gnuplotif necessary.
answer was given here

Need Colorpad equivalent for Mac OSX [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
There is a program that I have been using for about 10 years now: http://matthieu.bizland.com/ colorpad. Unfortunately, it is only supported by Windows however, I need it for Mac OSX. Is there an equivalent? BTW, this is a desktop application not a browser extension.
Thanks!
Hues (formerly Spot Color).

Resources