Share a bash session using screen

This is a short post on how you can “share” a bash session/prompt with other users.

  1. User A connects to the server and types in the command

    # screen

  2. User A hist the key combination <Ctrl + a> and the type

    :multiuser on

  3. User B connects to the same server as user A and can the join the session by typing

    # screen -x

Serveral users can connect and share the same session at once.

To close the screen session just use the key combination <Ctrl + a>