Results 1 to 2 of 2

Thread: Passing messages to GNU Screen

  1. #1
    Join Date
    Jul 2008

    Passing messages to GNU Screen

    Let's say I created an init script to create a screen session that runs a game server. That script also has the ability to kill the screen session based on the PID. Honestly I can't make heads or tails of screen's man page. How can I create another script that allows me to send a command (simply a short string with a return at the end) to the running process within that screen?

    (I want a file that lets me "./ban <username>" then passes "ban $1[ENTER]" to the running process)

  2. #2
    Join Date
    Jun 2005
    Toronto, Canada
    Xubuntu 16.04 Xenial Xerus

    Re: Passing messages to GNU Screen

Tags for this Thread


Posting Permissions

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