Sending commands to a screen

Discussion in 'Systems Administration' started by jessegeerts, Jun 17, 2016.

Thread Status:
Not open for further replies.
  1. I want to execute commands (for minecraft ofc) outside a screen session so that I can restart my servers automattically

    I hope that someone can help me :)
     
  2. Well I found the solution..
    Code (Text):

    screen -S SCREENNAME -X stuff "stop^M"
     
     
    • Agree Agree x 1
Thread Status:
Not open for further replies.