Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a minecraft server running as a daemon. When you run it normally (not as a daemon), you can type commands into the console. How can you get to the console so I can send it commands while it's running as a daemon?

share|improve this question

1 Answer 1

I would recommend running something like this in a screen session instead. The benefit of screen is that you can reattach to the console whenever you like to run a command, then send it to the background again as needed.

  • First type screen to start a session.
  • Run your minecraft server as you would in standalone mode.
  • Press Ctrla Ctrld.

You can now close your terminal session and minecraft or whatever software you use will continue to run in the background. Running screen -r will reattach you to this session to run commands.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.