Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux screen commonly commands     - Using Vagrant to build multi-platform environment (Server)

- The method of Linux into the rescue mode (Linux)

- Java development specifications summary (Programming)

- struts2 completely the wrong way to capture 404 (Programming)

- Linux environment variable configuration and save places (Linux)

- Protect your files, modify the Linux value Umask (Linux)

- Ubuntu 14.04 set auto sleep time (Linux)

- Briefly explain the invasion of the four-level denial of service attack DoS Linux server (Linux)

- Mhddfs: multiple smaller partitions into one large virtual storage (Linux)

- Setting the RedHat9 Intrusion Detection System (Linux)

- Eclipse configuration GTK (Linux)

- C ++ Replication Control: Assignment operators and destructors (Programming)

- Linux initialization init system - UpStart (Linux)

- Why you should choose Python Programming (Programming)

- Basic Java JNI (Programming)

- CentOS 6.5 / 6.6 modify the default SSH port number (Linux)

- Java eight new features 8 (Programming)

- The REVERSE function of DB2 (Database)

- How common Linux automation tasks (Server)

- Flask deploy applications using Nginx on Ubuntu (Server)

  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"
- JSON data normalization (normalize) (Programming)
- C language binary tree counts words (Programming)
- Killall five options you might not know (Linux)
- Access clipboard content across multiple vim instances in a terminal (Linux)
- Linux garbled file delete method (Linux)
- Database start listening TNS-12537, TNS-12560 error (Database)
- 7 extremely dangerous Linux commands (Linux)
- Java object serialization and deserialization (Programming)
- Shuffle Process Arrangement in MapReduce (Server)
- Elasticsearch 2.20 Highlight (Server)
- Ubuntu 14.04 build Hadoop 2.5.1 standalone and pseudo-distributed environment (32-bit) (Server)
- Examples of safety testing system notes for RedHat Linux (Linux)
- About Samba certification process and permissions (Linux)
- AIX system file security aspects (Linux)
- Python2.7.7 source code analysis (Programming)
- The compiler installed Kaldi under Ubuntu 12.04 (Linux)
- To install Ganglia configuration of experience under CentOS 5.5 (Linux)
- The Linux-based security settings Ipchains Firewall (Linux)
- Start Linux ISO image directly from the hard disk (Linux)
- Let Mac OS X dedicated high-speed mobile hard disk can also be read in Linux (Linux)
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.