The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



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

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-04-2004
waking_bear waking_bear is offline
Registered User
  
 

Join Date: Mar 2004
Location: Melbourne
Posts: 3
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?
  #2 (permalink)  
Old 03-04-2004
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
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.
  #3 (permalink)  
Old 03-04-2004
waking_bear waking_bear is offline
Registered User
  
 

Join Date: Mar 2004
Location: Melbourne
Posts: 3
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)
  #4 (permalink)  
Old 03-04-2004
Optimus_P Optimus_P is offline Forum Advisor  
flim flam flamma jamma
  
 

Join Date: May 2001
Location: Chicago IL, USA
Posts: 1,006
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
  #5 (permalink)  
Old 03-04-2004
waking_bear waking_bear is offline
Registered User
  
 

Join Date: Mar 2004
Location: Melbourne
Posts: 3
cool

thanks again.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On




All times are GMT -4. The time now is 06:14 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0