LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-01-2008, 12:50 AM   #1
vng_4
LQ Newbie
 
Registered: Apr 2008
Posts: 2

Rep: Reputation: 0
Screen command


How to run the screen commad in RHEL 4 . Please advise.
 
Old 08-01-2008, 01:27 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943
Hi,
Quote:
Originally Posted by vng_4 View Post
How to run the screen commad in RHEL 4 . Please advise.
Code:
excerpt from 'man screen';

NAME
       screen - screen manager with VT100/ANSI terminal emulation

SYNOPSIS
       screen [ -options ] [ cmd [ args ] ]
       screen -r [[pid.]tty[.host]]
       screen -r sessionowner/[[pid.]tty[.host]]

DESCRIPTION
       Screen is a full-screen window manager that multiplexes a physical ter-
       minal between several processes (typically interactive  shells).   Each
       virtual terminal provides the functions of a DEC VT100 terminal and, in
       addition, several control functions from the ISO 6429  (ECMA  48,  ANSI
       X3.64)  and ISO 2022 standards (e.g. insert/delete line and support for
       multiple character sets).  There is a  scrollback  history  buffer  for
       each virtual terminal and a copy-and-paste mechanism that allows moving
       text regions between windows.

       When screen is called, it creates a single window with a  shell  in  it
       (or  the  specified  command) and then gets out of your way so that you
       can use the program as you normally would.  Then, at any time, you  can create new (full-screen) windows with other programs in them (including
       more shells), kill existing windows, view a list of windows, turn  out-
       put  logging  on and off, copy-and-paste text between windows, view the
       scrollback history, switch between windows in whatever manner you wish,
       etc.  All  windows  run  their  programs completely independent of each
       other. Programs continue to run when their window is currently not vis-
       ible and even when the whole screen session is detached from the user's
       terminal.  When a program terminates, screen (per  default)  kills  the
       window  that  contained  it.  If this window was in the foreground, the
       display switches to the previous  window;  if  none  are  left,  screen
       exits.

       Everything  you type is sent to the program running in the current win-
       dow.  The only exception to this is the one keystroke that is  used  to
       initiate  a  command  to  the window manager.  By default, each command
       begins with a control-a (abbreviated C-a from now on), and is  followed
       by one other keystroke.  The command character and all the key bindings
       can be fully customized to be anything you like, though they are always
       two characters in length.
...
I would suggest that you read the whole 'man screen'.

A dated but good screen article.
 
Old 10-02-2008, 05:42 AM   #3
justmovedtolinux
Member
 
Registered: Sep 2008
Posts: 41

Rep: Reputation: 15
How To Switch Between Screens?

I understand that the screen command gives me multiple virtual screens. But, how do i switch between them?

The only way I seem to be able to do it now is to exit one screen.

Is there a shortcut key (like Ctrl + L + L clears the screen) for it???

Last edited by Tinkster; 10-30-2010 at 05:01 PM.
 
Old 10-02-2008, 07:15 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Have a read through this tutorial on screen. It has a section on how to create tabs with different screens and then move between the tabs.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen Command and MCEdit markamez Linux - Enterprise 0 06-02-2006 12:58 PM
screen command Alfie67 Debian 3 09-13-2005 06:16 PM
How do I kill a screen from command-line if I know the screen name? CrewXp Linux - Software 6 08-27-2005 11:35 AM
screen command newbie007007 Linux - General 3 07-04-2005 05:10 PM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 08:14 PM


All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration