Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I'm running the latest Sierra version, and every time I reboot I need to execute
mysql.server start
I'd like to simply add this command to a startup script, but I've spent an hour looking at setting up daemons, etc, but I feel like it shouldn't be that difficult.
Is there an easy way to put this in some sort of startup script so every time I start my macbook it's run in the background?
Any help would be appreciated!
run this in terminal
ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
providing that mysql installed with brew
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I just set up linux with WSL and am using anaconda to install standard packages.
It takes incredibly long (the solving environment variables part) and I want to install many things.
Can I run anaconda install on two different shells and be fine (using tmux not that it matters probably)?
I've never played with WSL but in general the package installation systems have a locking system that prevent parallel executions because they'll make the system inconsistent in some situations. So I think it should be fine but useless because the second process will be queued.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
How will you install rpm with a shell script and place that into cron .As i have a system that i need to install the package every time the system is rebooted .So need a shell script that will check with an uptime and installed the rpm every time the system is rebooted .
crontab -e
#reboot rpm -i /path/to/the/package.rpm
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
Before upgrading my ubuntu install to 16.04 invoking 'octave' would open the octave interpreter, useful as a powerful calculator.
Now, typing octave opens the octave gui. I need to type 'octave --no-gui' to get my interpreter back.'
Why does this happen? How can I restore 'octave' opening the interpreter?
Defaults change over time depending on typical usage. To fix it, just:
Add an alias to your ~/.bashrc
alias octave="octave --no-gui"
Now source your file to enable it.
source ~/.bashrc
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
When I run sudo su on my mac os x (10.8.5) MacBook Air, the shell changes for some reason:
bos-mp2o6:~ rabdelaz$ sudo su
Password:
sh-3.2#
What's up with that?
The only thing I've done is install Heroku Toolbelt and, after getting sudo: unable to cache user root, already exists, rebooting.
When you use sudo su, it runs the superuser's .bashrc, so you get its prompt instead of your own.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
as the topic suggest, i accidentally killed the wrong process. nothing is working for me now. what should i do?
I have tried to install, reinstall but it does not work.
whatever cmd i type just returns nothing
ls
cmd
pwd
Assuming that you had ssh'ed to the machine and killed your own shell, I would suggest that you just try to ssh to the machine again and start over.
If that doesn't work, reboot the server via the AWS console.