You absolutely do need the "-AmdS screenname" part. Otherwise, it won't start.mateckz wrote:dont do the -AmdS screenname correct cause when i tried it just in terminal it didnt work?
When successful, it starts the screen in the background. I talk about this thoroughly in that post -- please read it!
From the same session, use the "fg" command to bring a background task to the foreground. Then, stop it with Control-Z and use "bg" to put it back into the background. But, doing this is invasive, since Control-Z stops the job, leading to the server freezing.Only disadvantage of using & over the screen way is you can't open the terminal window back up.
You really should be using "screen" instead, since it isn't tied to a console session and does not have the limitations that running tasks in the background does. mateckz, don't use "&" unless you never want to interact with the process again.