I'm making a shell script that will start bunch on programs that l mostly use. I wants commands for them the programs are- 1. skype 2. sublime-text 3. google-chrome 4. Beyond-comopare 5. scudCloud 6. Lampp
i've found some of them-
#! /bin/sh
sudo service mysql stop
sudo /opt/lampp/lampp start
sudo /usr/bin/skype start
sudo /usr/bin/subl start
sudo google-chromeI know the application can be set from startup application also but i need to run some command also.
After running command bash shell script will run.
92 Answers
Your script with further two entries:
$ cat launchscript.sh
#! /bin/sh
sudo service mysql stop
sudo /opt/lampp/lampp start
sudo /usr/bin/skype start
sudo /usr/bin/subl start
sudo google-chrome
sudo scudcloud
sudo bcompareMake it executable:
sudo chmod +x launchscript.shRun it:
./launchscript.sh 3 Put the script to run all the services inside init.d directory to make them run at startup.