个人工具

UbuntuHelp:DinkelVersus/Screen/zh

来自Ubuntu中文

跳转至: 导航, 搜索
This page is a short guide about installing and using the terminal program screen.

这是一个关于安装和使用终端程序screen的简短的介绍。

简介

screen is a console program that lets you open and switch between multiple virtual consoles. Programs running in a virtual console will continue running in the background when disconnected from the virtual console.

screen 是一个控制台程序,通过它你可以打开多个虚拟终端并在它们之间任意切换。运行在这些虚拟终端中的程序可以在你从虚拟终端断开的情况下继续在系统后台运行(您还可以随时再接入进去)。

安装

sudo aptitude -y install screen

安装其实很简单!

启动 Sceen

输入以下命令就可以启动 screen:

screen

Read the intro text and then hit ENTER to be dumped into a virtual console. Once you are in the virtual console, you will notice that is does not look any different than a normal console.

简略阅读一下显示出来的介绍文字,然后敲Enter键(其实是Space键)就可以进入一个虚拟终端环境。一旦你进入这个虚拟环境,你会发现它看起来和普通的终端没有任何区别。

使用 Screen

Be default, the control-A key combination starts a screen command (hereby abbreviated C-A). To create a new virtual console: C-A n more to come...

默认情况下,Ctrl + A 组合键可以开始一个screen 命令 (此处记为C-A)。要创建一个新的虚拟终端,只需输入: C-A C-C...