How to Setup and Use Linux screenrc

(base) ➜ ~ screen --version
Screen version 4.01.00devel (GNU) 2-May-06

If you dont have screen, install using following command

On Ubuntu

sudo apt install screen

On Centos

sudo yum install screen

Screen can be started with following command...

screen -S session_name

Above will start the screen session. Here are some of the basic commands to navigate in screen

To create new screen window
  ctrl+a c (press ctrl+a together follow by key c)
To go to previous window
  ctrl+a p (press ctrl+a together follow by key p)
To go to next window
  ctrl+a n (press ctrl+a together follow by key n)
To detach from the screen session
  ctrl +a d (press ctrl+a together follow by key d)
To see the list of screen sessions, type
  screen -ls
To reconnect to the screen session
  screen -r
To scroll up and down in screen rc
  ctrl +a [ (press ctrl+a together follow by key a)
To search text in the screen window do following...
  ctrl +a [ (press ctrl+a together follow by key a)
  Now you can search by pressing forward slash /<text>