Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2011

    Need help with a simple .sh command line

    i recently got hold of my friends server cause it was lagging (rather bad)
    i found we used a ftp at one point to start and stop the server (or thats what he told me)
    using winscp (im on a windows client but linux server)
    i use a "" that is ment to start the server i got told by him that it also stopped and restarted the server i looked at the line and saw that it does NOT do that here is the command it has in it

    java -d64 -Xincgc -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    to open a jar file that inturn runs the server
    anyway it seems to me i have loads of the same server open where he is just opening agian and agian

    my question to you is what would i have to put into a .sh to ether
    • End the server
    • End the process
    • Stop then start the server

    Cause i seem to be having problems finding help on this

    thank you for your time


  2. #2

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts