Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux screen commonly commands     - EXP-00091: Exporting questionable statistics Processing Method (Database)

- 14.04.3 Ubuntu configuration and successfully compiled source code Android 6.0 r1 (Programming)

- How to upgrade the kernel to 3.13.7 on Ubuntu / Linux Mint (Linux)

- Install NetBeans IDE 8.0 on Ubuntu, Linux Mint, Elementary OS, and Debian (Linux)

- Linux command ls (Linux)

- The SVN installation, configuration and start - up under Linux (CentOS 6.5) (Server)

- Ubuntu Live CD by updating Grub resume boot the Boot Menu (Linux)

- MySQL Tutorial: About checkpoint mechanism (Database)

- Flow control message transmission between RAC (Database)

- Editor of the popular Linux Gvim (Linux)

- CentOS 6 Install Xen4.2 Virtualization Practice (Linux)

- Five kinds of IO Model under Linux (Programming)

- Teach you how to protect the Linux operating system security tips (Linux)

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

- shell script: the number of characters in the text to print no more than 6 words (Programming)

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

- Linux beginners should know 12 commands (Linux)

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

- Repair Chrome for Linux is (Linux)

- Use smem visual display Linux memory usage (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:      
 
- Compression decompression command under Linux (Linux)
- Open log in Hibernate (Programming)
- nginx.conf Optimization (Server)
- MYSQL root password for the database user passwords are weak attack analysis (Linux)
- Linux Command-line MySQL summary (Database)
- Docker command Detailed (Linux)
- Btrfs file system repair techniques (Linux)
- MySQL high availability cluster fragmentation of deployment uses Cobar (Database)
- MySQL 5.6.26 source install (Database)
- How to update the ISPConfig 3 SSL Certificates (Server)
- Switching Virtual Machine + Ubuntu graphical interface and terminal interface (Linux)
- CRF ++ Linux use (Linux)
- Linux performance optimization tools perf top (Linux)
- Linux Workstation Security Checklist - from the Linux Foundation Internal (Linux)
- Python system default encoding (Programming)
- How to interactively create a Docker container (Server)
- Ubuntu 15.04 / 14.04 install Ubuntu After Install 2.6 (Linux)
- MySQL restart process can not be taken lightly (Database)
- Why do you need close contact Rust 1.0 (Programming)
- How to install Eclipse Luna IDE on CentOS 7 / RHEL 7 (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.