Welcome to the Linux Foundation Forum!

Start 'screen' with two windows

Hi,

I've read the man pages and can't really find out if this is possible or not. Can I start a 'screen' so it opens two windows and runs a command in each of them?

Like if I start a 'screen' and do CTRL+A+C I get a second window in screen, but I need to script this so it boots up with the computer.

Does anyone know if this is possible?

Comments

  • kwame
    kwame Posts: 2
    It's possible. You can configure that on your ~/.screenrc
  • mfillpot
    mfillpot Posts: 2,177
    Read the screen manual file under the CUSTOMIZATION section, that lists all possible commands that can be input in the .screenrc file. you will see that the command split does work among other good options.

Categories

Upcoming Training