Merge pull request #652 from NaxnN/patch-5

Update screen sessions hijacking
This commit is contained in:
Carlos Polop 2023-06-24 18:39:38 +02:00 committed by GitHub
commit 0fa6413739
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1249,15 +1249,18 @@ In **newest versions** you will be able to **connect** to screen sessions only o
```bash
screen -ls
screen -ls <username>/ # Show another user' screen sessions
```
![](<../../.gitbook/assets/image (130).png>)
**Attach to a session**
```bash
screen -dr <session> #The -d is to detach whoever is attached to it
screen -dr 3350.foo #In the example of the image
screen -x [user]/[session id]
```
## tmux sessions hijacking