Notes on Ubuntu (Linux) computing

Brief notes on installation, setup and other tasks in the Ubuntu world

Install and use screen in Ubuntu 12.04

leave a comment »

screen is a nice tool for those who use the terminal for much of their work. Installation is simple:

sudo apt-get install screen

Some useful (basic) commands are:

screen -S <sessionname> # create session with name 'sessionname'
screen -ls              # show current screen sessions
CTRL-a d                # detach from screen session
screen -r <sessionname> # re-attach to 'sessionname'

Once in an attached screen window, useful commands are:

CTRL-a c                # create a new window/terminal
CTRL-a A                # name the window/terminal
CTRL-a "                # list all windows and select to switch
CTRL-a n                # cycle to next window/terminal
exit                    # exit from the current window/terminal
Advertisements

Written by Chris S

November 13, 2012 at 11:22 pm

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: