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")
[email protected]
_______________________________________________
screen-users mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/screen-users