Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I to invoke Ctrl-a in a Linux terminal session. I am trying to share a screen using screen.

The command to turn on multiuser is Ctrl-A :multiuser on , I know how to press Ctrl+a on my keyboard but what is the command line version of Ctrl-a?

How would I type Ctrl-A :multiuser on, without Linux telling that the command is not found?

share|improve this question

migrated from stackoverflow.com Mar 1 '13 at 8:52

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 6 down vote accepted

Since you're in a screen session, press Ctrl+A and press A again.

share|improve this answer
    
thank you! wohoo! –  Dre_Dre Mar 1 '13 at 0:53

I knew you could send commands from within a screen session to the screen. So from the man page:

  -X   Send the specified command to a running screen  session.  You  can
        use  the  -d or -r option to tell screen to look only for attached
        or detached screen sessions. Note that this command  doesn't  work
        if the session is password protected.

this leads to:

screen -X multiuser on

Invoking this from within your screen should do the job. Could not test it myself right now.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.