Jump to content

How to use the console on linux server properly?

Recommended Posts

I have got a Linux Server installed on my machine, and i will run an MTASA and TS3 server on it. As i remember, i had problems with the console, it was weird-controlable. I installed an application, called screen, but i dont really know how to use it. Is it possible, that i can leave the console, re-join in the console, write commands in the command line and the console, check other servers and etc. Please help me, with this screen and console stuff!
Thanks, have a wonderful day!

Link to post

It is, yes. This is how you start your MTA server with screen:

SCREEN -S myserver ./mta-server

-> myserver is the name of your screen (like a variable, it can be anything), you can go back to it any time with this command:

SCREEN -R myserver

-> this command will open up the same screen again, to detach the screen press CTRL + A then CTRL + D (this will exit from the screen, but it will keep running in the background)

To completely stop the server, you can press CTRL + C to shutdown the server when in SCREEN mode

  • Like 1
Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...