Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Linux screen commonly commands     - Oriented C ++ test-driven development (Programming)

- CV: Linux command displays the progress of the run command (Linux)

- Partition and file system under Linux (Linux)

- Read the official GNU Make manual one (chapter 1-2) (Programming)

- Linux file and directory permissions settings (Linux)

- Java and C / C ++ data conversion when network communication (Programming)

- Physical structure and process disk IO (Linux)

- How to configure MongoDB replica set (Database)

- VirtualBox - Linux system virtual machine shared folders (Linux)

- Linux MultiPath software implementation instructions (Linux)

- Linux Systems Getting Started Learning: Configuration PCI passthrough on a virtual machine (Linux)

- Linux Mint under tty.js Installation Guide (Linux)

- For the FreeBSD install Adobe Flash plug-in (Linux)

- CentOS 7.1 install NTFS-3G (Linux)

- Depth understanding of C language (Programming)

- MySQL time field based partitioning scheme summary (Database)

- MySQL server after an unexpected power outage can not start (Database)

- Java synchronization mechanism: synchronized, wait, notify (Programming)

- Build RubyMine + Ruby On Rails + MySQL development environment under Windows (Server)

- Linux Systemd-- To start / stop / restart services in RHEL / CentOS 7 (Linux)

  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"
- Use $ BASH ENV variable to mention the right way under Linux (Linux)
- Ubuntu program using the Sound Recorder (Linux)
- Linux network security probing tools Hping2 (Linux)
- How to build a container cluster (Server)
- Java is simple to read and write HDFS Demo (Programming)
- OpenGL Superb Learning Notes - Fragment Shader (Programming)
- Logging information through the web GUI (LogAnalyzer) (Server)
- Into the Java keyword instanceof (Programming)
- xCAT line installation on CentOS 6.X (Linux)
- The difference between Linux su and sudo commands (Linux)
- CoreCLR compiled in Linux CentOS (Linux)
- Shell scripts get a snapshot of the page and generates thumbnails (Linux)
- CRF ++ Linux use (Linux)
- Linux common network tools: Scan routing of mtr (Linux)
- Upgrade to Node V4 seven reasons (Programming)
- Ubuntu: To install chat client Chatty 0.6.1 (Linux)
- Use the Find command to help you find those files that need to be cleaned (Linux)
- Ubuntu PPA install SMPlayer 14.9 (Linux)
- Oracle Client Easy Connection error ORA-12154, TNS-03505 (Database)
- Towards Docker (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.