Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux screen commonly commands     - Grading defense against Linux server attacks (Linux)

- Without Visual Studio .NET Windows application development (Programming)

- Analytical Ceph: handle network layer (Server)

- Network Security: SYN attacks against under linux (Linux)

- Node.js Getting the basics: Helloworld! (Linux)

- Linux system security configuration (Linux)

- How to contribute code on GitHub uploads (Linux)

- MongoDB Learning the notes (Database)

- Ubuntu 14.04 virtual machine switching desktop environments (Linux)

- C ++ based socket communication TCP and UDP (Programming)

- How to turn Java String into Date (Programming)

- Caffe install under Ubuntu 14.04 64bit (Linux)

- Use Mop monitor stock prices at the Linux command line (Linux)

- CentOS How to mount the hard drive (Linux)

- Teach you the Ubuntu Server enabled SSH multifactor authentication (Server)

- Linux System Getting Started Learning: Linux how to install 7zip (Linux)

- Linux install Eclipse for C / C ++ Development (Linux)

- Oracle DATABASE LINK (DBLINK) Create (Database)

- Python interview must look at 15 questions (Programming)

- Python method to traverse folders and file read and write (Programming)

  Linux screen commonly commands
  Add Date : 2018-11-21      
  Presumably, as long as contact with Linux for some time, you must know the screen this amazing tool, and it has the following some advantages:

1. The background: When you execute ssh terminal shell, then if the network is disconnected, your program will happen? TERMINATED ah! With the screen, you can let the program run at the screen and not with the ssh disconnect disconnected.

2. Multi-window management: Sometimes, we need to run a command, and then at the same time look at its log files, etc., then we can easily use the screen split-screen function, while you run the command while viewing log files.

screen most commonly used commands: (CTRL + a represents a control and press together and release together)

Create a screen session

screen -S test

From (detach) the current session

CTRL + a and d

Access (attach) a session called test

screen -r test
screen -x test
Create a new window (create)

CTRL + a and c
Switch to the next window (next)

CTRL + a and n
Rename the current window (rename), note the W represents a shift + w

CTRL + a let after W
Appears below the prompt, and enter the new name, press Enter
Displays the current list of all windows, note the double quotes

CTRL + a then "

Multi-window common commands

Longitudinal split screen

CTRL + a then |

Note that the new division of the region where there is no shell, and you can not do anything, so you can use

CTRL + a then TAB
Switch to the new regional segmentation, use CTRL + a and c, create a new window, so you can simultaneously operated in both windows

Lateral split screen (S for SHIFT + s)

CTRL + a then S

Set the bottom of the window title

Observant students may notice that the Information Bar at the bottom of my window, and you want it?

Then put the following code into the final surface / etc / screenrc it!

# Allows you to set the window title

caption always "%% {bW.} - w%% n% t% {rW.} {-}% + w% =% H% Y /% m /% d"
- Android Scroller call mechanism and the relationship of computeScroll (Programming)
- How to clear the DNS query cache under Linux / Unix / Mac (Linux)
- Why is better than Git SVN (Linux)
- java.net.NoRouteToHostException of Hadoop problem: no route to host (Server)
- MySQL 5.7.10 source code for the latest version of the installation process in detail (Database)
- CentOS 6.4 installation environment to build Scrapy 0.22 (Linux)
- Sysdig: system troubleshooting tool (Linux)
- Oracle PL / SQL selective basis (IF CASE), (LOOP WHILE FOR) (Database)
- Linux iostat command example explanation (Linux)
- Dynamic programming Android (Programming)
- Java eight new features 8 (Programming)
- MySQL InnoDB table --BTree basic data structures (Database)
- CentOS Nginx achieve 3 virtual machine load balancing (Server)
- The istgt PSD on ported to Mac OS X (Linux)
- Linux System Getting Started Tutorial: How to Force Change your password at next logon Linux (Linux)
- CentOS 6.5 installation Python3.0 (Linux)
- Writing Better Bash build script 8 (Programming)
- Python in yield (Programming)
- Installation Yarock 1.1.4 Music Player in Ubuntu (Linux)
- Let's Encrypt with semiautomatic into Nginx configuration https (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.