Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux screen commonly commands     - To install Redis under Linux (Database)

- Shell command line operation (Linux)

- MySQL is configured to access external networks under Ubuntu (Database)

- Use a soft Raid play multiple SSD hard drive performance and enhance data security (Linux)

- RedHat Linux 6.4 installation RTL8188CUS wireless network card driver (Linux)

- Nginx Performance Tuning Guidelines (Server)

- User and user group management Linux Command (Linux)

- CentOS replaces update source and Linux kernel compilation summary (Linux)

- Linux mention the right notes (Linux)

- SLF4J Tutorial (Programming)

- Use SecureCRT to transfer files between Linux and Windows (Linux)

- CentOS 6.4 Python 2.6 upgrade to 2.7 (Linux)

- CentOS 6.5 system installation Oracle11.2.0.4 basic steps (Database)

- The difference between VMware virtual machine network mode (Linux)

- Ubuntu and Archlinux install Notepadqq 0.50.2 (Linux)

- Python-- for anomalies and reflection of objects articles (Programming)

- Safe learning through self-extracting package to achieve invasion (Linux)

- Use small network command to check whether PC Security (Linux)

- Configuring xdebug debugging environment in Ubuntu 14.04 under the PhpStorm (Linux)

- Ubuntu 14.04 Nvidia graphics driver installation and settings (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
or
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"
     
         
         
         
  More:      
 
- Git uses a small mind (Linux)
- Linux, MySQL / MariaDB Galera Cluster Setup Process (Database)
- Installed FFmpeg 2.6.3 on Ubuntu / Debian / Fedora system (Linux)
- Linux in order to make NMAP hide and seek with the firewall (Linux)
- Configuring a Linux operating system security management services (Linux)
- Oracle 11g RAC installation considerations Miscellany (Database)
- RHEL 6.4 installed MySQL 5.6.27 (Database)
- Calculate CPU utilization (Linux)
- Learning and Practice (Linux)
- Java and Python use make way dictionary word search script (Programming)
- ORA-14400: inserted partition key does not map to any partition (Database)
- Oracle archive log full cause abnormal slow database performance (Database)
- Linux batch copy data script (Linux)
- Python type way of comparison (Programming)
- Use Tails 1.4 Linux system to protect the privacy and anonymity (Linux)
- grub boot error resolution examples (Linux)
- Network traffic monitoring ntopng (Linux)
- Linux find and xargs (Linux)
- Linux Network Security: nmap port scanning software (Linux)
- Installation and Configuration JDK8 In CentOS 7 (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.