Re: write command-result to console
Geraint Edwards <gedge-lists-screen-LsAsh/[email protected]>
| Newsgroups | gmane.comp.gnu.screen.user |
|---|---|
| Message-ID | <[email protected]> |
Maximilian Kirchner <[email protected]> said (on Mon, Apr 18, 2011 at 11:35:41PM +0200): > Now I want to send the command "list" (which lists all players) to the server and write the result in a file. Did you try: rm screenlog.0 screen -p 0 -S minecraft-w1 -X log on screen -p 0 -S minecraft-w1 -X stuff 'list\012' sleep 2 screen -p 0 -S minecraft-w1 -X log off more screenlog.0 -- Geraint A. Edwards (aka "Gedge") gedge-LsAsh/[email protected]