BashScripts.org
http://bashscripts.org/forum/

Any way to output in a screen?
http://bashscripts.org/forum/viewtopic.php?f=8&t=1414
Page 1 of 1

Author:  fwd [ Wed Jun 22, 2011 1:23 pm ]
Post subject:  Any way to output in a screen?

I would simply like a bash script to be able to interact with a screen to write down something into it. The screen where i'd like to write is running minecraft, and I can't figure out how I could do this.

I'm running a Debian distribution, in root.

Author:  fwd [ Wed Jun 22, 2011 1:55 pm ]
Post subject:  Re: Any way to output in a screen?

Well, by lurking on the forum I found it by myself (I actually wasn't looking for this particularly) :

screen -S minecraft -X stuff $'kickbannoob'

This forum is awesome.

Page 1 of 1 All times are UTC - 6 hours
© 2000, 2002, 2005, 2007 phpBB Group • http://www.phpbb.com