Forcing command line window in Ubuntu for logs.

If something doesn't fit in any other forum then post it here.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Forcing command line window in Ubuntu for logs.

Post 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.
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Forcing command line window in Ubuntu for logs.

Post by UnAfraid »

You gotta write 'tail' for windows :P
Image
User avatar
Szponiasty
Advanced User
Advanced User
Posts: 557
Joined: Mon Apr 21, 2008 1:31 pm
Location: Eastern Poland

Re: Forcing command line window in Ubuntu for logs.

Post 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
And in the next chronicle they went into space, fighting the evil empire... In a galaxy far, far away xD
User avatar
UnAfraid
L2j Veteran
L2j Veteran
Posts: 4199
Joined: Mon Jul 23, 2007 4:25 pm
Location: Bulgaria
Contact:

Re: Forcing command line window in Ubuntu for logs.

Post by UnAfraid »

He wants "tail -f logs/stdout.log" on windows
Try "Get-Content .\java0.log -Wait" in Power Shell
Image
JMD
Advanced User
Advanced User
Posts: 1440
Joined: Wed Apr 15, 2009 10:07 am

Re: Forcing command line window in Ubuntu for logs.

Post 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.
User avatar
BiggBoss
L2j Veteran
L2j Veteran
Posts: 1104
Joined: Wed Apr 15, 2009 3:11 pm
Location: Spain

Re: Forcing command line window in Ubuntu for logs.

Post by BiggBoss »

as Szponiasty said
Image
Post Reply