Posts

Showing posts with the label detach

Taking a screen test.

Image
Starting Linux Screen Screen is started from the command line just like any other command: [root@office ~]# screen Note: you do not have to be root to use it and good security suggests you only use root as a last resort. You are now inside of a window within screen. This functions just like a normal shell except for a few special characters. Control Command Command: “Ctrl-a” Screen uses the command “Ctrl-a” that’s the control key and a lowercase “a” as a signal to send commands to screen instead of the shell. For example, “Ctrl-a” then “?”. Key bindings are the commands the screen accepts after you hit “Ctrl-a”. You can reconfigure these keys to your liking using a .screenrc file, but I just use the defaults. Creating Windows Command: “Ctrl-a” “c”. To create a new window, you just use “Ctrl-a” “c”. This will create a new window for you with your default prompt. Your old window is still active. For example, I can be running top and then open a new...