![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pERL SCRIPT FOR MONITORING DATE/TIME STAMPS FOR START AND STOP OF APPLICAION IN A LOG | FREDDIE091970 | Shell Programming and Scripting | 4 | 03-31-2008 10:59 PM |
| Terminal doesnt start | thefloydpink | UNIX for Dummies Questions & Answers | 1 | 02-18-2008 11:38 PM |
| Start time/end time and status of crontab job | thambi | Shell Programming and Scripting | 3 | 05-16-2007 11:24 AM |
| Start process in shellscript at other terminal | benschell | Shell Programming and Scripting | 4 | 09-02-2002 08:24 AM |
| If this isn't newbie nothing is...how do I start GNOME? | jimmy | UNIX for Dummies Questions & Answers | 2 | 11-26-2001 05:40 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Run the start script from the terminal? Newbie Time!
Hi,
How do I "run a script"? I'm trying to start up some software called ElectroServer 3, and was told I just needed to "run the start script from the terminal to get things going". From the terminal, i use cd command to change to the software's directory, and I guess the script in question is either ElectroServer3.jar or StartElectroServer.sh I've tried, with both filenames: open filename run filename and even just fileneame none of which seem to work.. I think. Can anyone help? |
|
||||
|
1) you are correct in cding to the programs directory.
2) chmod 750 StartElectroServer.sh 3) ./StartElectroServer.sh that will start it up for ya. if you dont know much about java i would highly recommend the J2EE tutoral from java.sun.com they have it in PDF format also. J2EETutorial.pdf is the exact name. its a bit lengthy but it is packed full of very usefull information. i am currently reading it so i can try and head in the direction of running a j2ee app server. |
|
||||
|
Great, thanks! Now to stop it!
Thanks so much for the prompt reply.
Just so I understand... Is chmod 750 anything like chmod +a ? (make file executable by me?) And what does ./filename do exactly? Anyway, it worked, and now i seem to be in the Server program. Unfortunately though, I can't find any documentation on specific commands... trying ./StopElectroServer.sh or even exit or quit don't seem to do anything... maybe I need to open another Terminal window to run that stop script? You know there's an installer.exe for the Windows version of the Server... are we OS X users in this new territory where Unix, under the hood knowledge is assumed, even though we just found ourselves in Unix world? Anyway, it looks like a cool, cool, word... I wanna break into your.. cool world, break into your... coool world.. (it's a song) |
|
||||
|
usually the start script is called w/ a "stop" paramater. you will have to read the README and other avaliable program documentation to learn more about how to use it.
since the current directory is not in your $PATH env variable you need to specilfy exsplicity the script or program you are trying to execute. THUS ./run_me.script. the . means current working directory the forward slash is a directory seperator. ./run_me.script |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|