Home > Linux > GNU Screen shortcuts

GNU Screen shortcuts

I got tired of having a bunch of xterm windows running around on my Aspire One, so i decided to try GNU Screen. The Aspire One uses Linpus Linux , to install it all i had to do was :

sudo yum install screen

after the reboot i tried running screen but nothing happened (or so i thought). well time to jump to the web and find out…. a few minutes, and a couple of links later i found out that when i run screen nothing is supposed to happen ( nothing apparent at least), and all i had to do was start using it.

So here are the bits of information i gathered:

Screen uses the command “Ctrl-A” as a signal to send commands to screen instead of the shell.

Here are a few commands i found usefull:

  1. C-a c  – Creates a new screen shell where you can run your commands
  2. C-a n or C-a p – Move to the next or the previous screen
  3. C-a ” – List the existing screens
  4. C-a S – Split the screen in two
  5. C-a TAB – Switch between split screens
  6. On a  given screen terminal run “screen command name”  – opens a new screen running the given command and names it “name”

References:

Advertisements
Categories: Linux Tags: , ,
  1. Dário
    January 22, 2009 at 8:24 pm

    master eu tenho isto no meu ~/.screenrc
    experimenta, fica mais fixe! abraço

    hardstatus alwayslastline
    hardstatus string ‘%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]’

    # Default screens
    screen -t shell1 0
    screen -t shell2 1

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: