screen-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: How to start a shell into an already existent screen


From: Steve Ross
Subject: Re: Re: How to start a shell into an already existent screen
Date: Thu, 25 Jun 2020 09:58:46 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

On 6/24/2020 2:53 PM, Dario Lesca wrote:

<snip>

A Curiosity... I read from man page: "-X   Send the specified command
to a running screen session."

Which are these "specific command" that I can send to screen?

I'm no expert on "screen", but, after some experimentation...

It appears to me that the "specified command" is one of the commands listed in the CUSTOMIZATION section of the "screen" manual page.  Some easy examples are:

$ screen -S aSessionName -X quit    # Quit the specified screen session.

$ screen -S aSessionName -X display   # Show a table listing of all currently connected displays.

$ screen -S aSessionName -X exec /bin/sh    # Start a new shell in the specified session's current screen-window.

-- Steve Ross




reply via email to

[Prev in Thread] Current Thread [Next in Thread]