screen Flashcards

1
Q

Start screen for the first time

A

screen

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Detach the screen

A

C-d

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Re-attach the screen

A

screen -r

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

see how many screen are available

A

screen -ls

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

restore screen 7849.pts-0.mint

A

screen -r 7849

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

activate logging feature when the first time running screen

A

screen -L

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How to check if I’m in screen session?

A

echo $STY

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

detaches a running Screen from its current session and reattaches the session on the local machine.

A

screen -dr

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

attaches to a running session without detaching from its current attachment. This argument is especially useful when you and another user are trying to access the same session at the same time.

A

screen -x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

detaches a running session from its current attachment and performs a force reattachment. This is useful when the -dr option is unsuccessful.

A

screen -DDR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

forces a Screen to resize all of its windows to the current window when it attaches.

A

screen -A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

starts a Screen session but instead of loading a shell it will load an arbitrary command. If you create additional Screen windows they will also run this command.

A

screen -X [command]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly