Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .