306 lines
4.2 KiB
HTML
306 lines
4.2 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Virtual Terminals and screen</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="GNU/Linux Command-Line Tools Summary"
|
|
HREF="book1.htm"><LINK
|
|
REL="UP"
|
|
TITLE="Shell Tips"
|
|
HREF="c1195.htm"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Other Key combinations"
|
|
HREF="x1877.htm"><LINK
|
|
REL="NEXT"
|
|
TITLE="Help"
|
|
HREF="c2086.htm"></HEAD
|
|
><BODY
|
|
CLASS="SECT1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>GNU/Linux Command-Line Tools Summary</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x1877.htm"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Chapter 4. Shell Tips</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="c2086.htm"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="VIRTUAL-TERMINALS"
|
|
></A
|
|
>Virtual Terminals and screen</H1
|
|
><P
|
|
>Using the key combination
|
|
<B
|
|
CLASS="KEYCAP"
|
|
>ALT</B
|
|
>-<B
|
|
CLASS="KEYCAP"
|
|
>F*</B
|
|
>
|
|
keys you may change to different virtual terminals. You will have several (usually 6) virtual terminals setup with shells. Number 7 is usually setup with X you need to use
|
|
<B
|
|
CLASS="KEYCAP"
|
|
>CTRL</B
|
|
>-<B
|
|
CLASS="KEYCAP"
|
|
>ALT</B
|
|
>-<B
|
|
CLASS="KEYCAP"
|
|
>F*</B
|
|
>
|
|
<A
|
|
NAME="AEN2015"
|
|
></A
|
|
>
|
|
to change to a terminal from within X (X as in the X windowing system).</P
|
|
><P
|
|
></P
|
|
><DIV
|
|
CLASS="VARIABLELIST"
|
|
><DL
|
|
><DT
|
|
>screen</DT
|
|
><DD
|
|
><P
|
|
><A
|
|
NAME="AEN2022"
|
|
></A
|
|
><A
|
|
NAME="AEN2024"
|
|
></A
|
|
>is a great program that allows <A
|
|
NAME="AEN2026"
|
|
></A
|
|
>you to switch <A
|
|
NAME="AEN2028"
|
|
></A
|
|
>between multiple virtual terminals<A
|
|
NAME="AEN2030"
|
|
></A
|
|
> on the one physical <A
|
|
NAME="AEN2032"
|
|
></A
|
|
>terminal that you are using. Its a command-line <A
|
|
NAME="AEN2034"
|
|
></A
|
|
>based window manager<A
|
|
NAME="AEN2036"
|
|
></A
|
|
>, clearly this isn't that useful if you do have virtual terminals, but its amazingly useful when you log<A
|
|
NAME="AEN2038"
|
|
></A
|
|
> into machines remotely, using ssh <A
|
|
NAME="AEN2040"
|
|
></A
|
|
>and similar, see <A
|
|
HREF="x9094.htm"
|
|
>the Section called <I
|
|
>Remote Administration Related</I
|
|
> in Chapter 13</A
|
|
>. It works on key-combinations,<A
|
|
NAME="AEN2043"
|
|
></A
|
|
> you type</P
|
|
><PRE
|
|
CLASS="SCREEN"
|
|
>screen</PRE
|
|
><P
|
|
>On the command-line to begin. Now you start with one virtual terminal by default, but using the key combination
|
|
<B
|
|
CLASS="KEYCAP"
|
|
>CTRL</B
|
|
>-<B
|
|
CLASS="KEYCAP"
|
|
>A</B
|
|
>
|
|
<A
|
|
NAME="AEN2050"
|
|
></A
|
|
>
|
|
and then hitting "C" you can create another virtual terminal to use. </P
|
|
><P
|
|
>Use
|
|
<B
|
|
CLASS="KEYCAP"
|
|
>CTRL</B
|
|
>-<B
|
|
CLASS="KEYCAP"
|
|
>N</B
|
|
>
|
|
<A
|
|
NAME="AEN2056"
|
|
></A
|
|
>
|
|
to go to the next virtual terminal and
|
|
<B
|
|
CLASS="KEYCAP"
|
|
>CTRL</B
|
|
>-<B
|
|
CLASS="KEYCAP"
|
|
>P</B
|
|
>
|
|
<A
|
|
NAME="AEN2061"
|
|
></A
|
|
>
|
|
to go to the previous virtual terminal. Also try hitting
|
|
<B
|
|
CLASS="KEYCAP"
|
|
>CTRL</B
|
|
>-<B
|
|
CLASS="KEYCAP"
|
|
>A</B
|
|
>
|
|
<A
|
|
NAME="AEN2066"
|
|
></A
|
|
>
|
|
to go backwards and forwards between two particular terminals.</P
|
|
><P
|
|
><SPAN
|
|
CLASS="emphasis"
|
|
><I
|
|
CLASS="EMPHASIS"
|
|
>screen</I
|
|
></SPAN
|
|
> <A
|
|
NAME="AEN2070"
|
|
></A
|
|
>also has various other abilities <A
|
|
NAME="AEN2072"
|
|
></A
|
|
>that you can test <A
|
|
NAME="AEN2074"
|
|
></A
|
|
>out. The documentation <A
|
|
NAME="AEN2076"
|
|
></A
|
|
>and guides are well written so please feel free to read the manual <A
|
|
NAME="AEN2078"
|
|
></A
|
|
>page <A
|
|
NAME="AEN2080"
|
|
></A
|
|
>or try searching <A
|
|
NAME="AEN2082"
|
|
></A
|
|
>the internet.<A
|
|
NAME="AEN2084"
|
|
></A
|
|
></P
|
|
></DD
|
|
></DL
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x1877.htm"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="book1.htm"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="c2086.htm"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Other Key combinations</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="c1195.htm"
|
|
ACCESSKEY="U"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Help</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |