Hot answers tagged

2

There are a number of technical similarities and differences, but the one difference that should matter to you is that unlike the virtual consoles, using screen, you can attach to a screen session from any terminal connection to that computer: other virtual consoles terminal emulators running in X an ssh (or telnet) connection from another computer All ...


2

screen -dmS workspace; screen -S workspace -X stuff $'ps aux > output-x\n' I first create a detached session with the -d switch, I called my session workspace. I then send my command to the same session with -X stuff, I am using $'', but you could also use double quotes, but have to do a control M instead of a \n, which I don't like so I normally use ...


1

You can attach to the session from "another terminal" (including another ssh connection). That lets you recover anything that was in progress. You can always kill the screen session as you started it, by using sudo to kill the parent process of the screen session (the one named "screen"). The feature only is useful if it is properly configured to begin ...


1

screen does not know anything about CtrlAltF1. It only knows about sequences of bytes. The CtrlAltF1 may have meaning to a terminal emulator in which you are running screen (and send an interesting sequence of bytes to the application), but its meaning may be (as in a Linux virtual console) be built-in in a manner which prevents the key from sending data ...



Only top voted, non community-wiki answers of a minimum length are eligible