Page 1 of 1

Forcing command line window in Ubuntu for logs.

Posted: Fri Nov 22, 2013 11:53 pm
by JMD
What i want to do is to make startgameserver and loginserver force a command line window doing stdout.log tail so its like im running .bat files on windows, is it possible?

I use ubuntu.

Re: Forcing command line window in Ubuntu for logs.

Posted: Sat Nov 23, 2013 5:34 pm
by UnAfraid
You gotta write 'tail' for windows :P

Re: Forcing command line window in Ubuntu for logs.

Posted: Sat Nov 23, 2013 5:35 pm
by Szponiasty
JMD wrote:What i want to do is to make startgameserver and loginserver force a command line window doing stdout.log tail so its like im running .bat files on windows, is it possible?

I use ubuntu.
If I understand correctly what you want to do... Just remove "&" at the end of last line in startGameServer.sh.

Or run server via GameServer_loop.sh :P

Re: Forcing command line window in Ubuntu for logs.

Posted: Sat Nov 23, 2013 6:21 pm
by UnAfraid
He wants "tail -f logs/stdout.log" on windows
Try "Get-Content .\java0.log -Wait" in Power Shell

Re: Forcing command line window in Ubuntu for logs.

Posted: Sat Nov 23, 2013 6:55 pm
by JMD
In few words what i want it instead of checking the gameserver through stdout with ftp to have it show up in the command line the same way it does on windows.

I use tightvnc to do remote desktop on my servers thats why i ask for something like this.

Re: Forcing command line window in Ubuntu for logs.

Posted: Sun Nov 24, 2013 11:24 am
by BiggBoss
as Szponiasty said