Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux screen commonly commands     - Memcached installation, configuration and monitoring (Server)

- Shared directory settings between Linux and Linux (Linux)

- Based AutoYaST automated installation of SUSE practice (Linux)

- Install Gnome Flashback Classic Desktop on Ubuntu 14.10 / Mint 7 (Linux)

- Xshell upload files to achieve Windows host Linux (Linux)

- APF firewall installation and configuration under Linux (Linux)

- Openfire achieve load balancing cluster by Nginx (Server)

- How to contribute code to the GNU Project (Linux)

- ssh using scp: / directory: Permission denied (Server)

- Linux cron job (Linux)

- Java thread lifecycle (Programming)

- Timing task Crontab under Linux system (Linux)

- Analysis of MySQL High Availability (Database)

- Using Maven to download Spring (Linux)

- Puppet 3.x installed on Debian 7 (Server)

- Enable Intel Rapid Start in GNU / Linux (Linux)

- Linux (Debian) install software, missing dynamic link libraries .so (Linux)

- Difference Redhat5 and 6 YUM source configuration (Linux)

- Linux System Getting Started Learning: compile and install ixgbe driver in Ubuntu or Debian (Linux)

- libnet list of functions (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
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:      
 
- Oracle11g Trigger Debugging Record Error: PLS-00201: identifier SYS.DBMS_SYSTEM 'must be declared (Database)
- Java reflection summary (Programming)
- To teach you how to safely send mail (Linux)
- Linux System Getting Started Learning: the curl set custom HTTP header (Linux)
- Encounter ORA-00600: internal error code, arguments: [4194] ORA-1552 (Database)
- Oracle ORA-01691 error message, a single data file size limit problem (Database)
- Linux system performance analysis and top command ps.pstree Comments (Linux)
- Python common data type summary (Programming)
- How to add any of a Linux distribution beautiful fonts (Linux)
- Linux directory structure (Linux)
- PHP interview questions of design patterns (Programming)
- Linux loopback adapter Driven Design (Programming)
- How to determine whether the Linux server was hacked (Linux)
- Oracle 12C modify spfile path (Database)
- XenServer virtual machines installed in dual-card configuration (Server)
- Embedded Linux Optimization (Programming)
- C language binary tree (Programming)
- Ubuntu modify locale problem solving (Linux)
- When Linux virtual machine to another copy of the operating system, a static IP NAT mode Invalid (Linux)
- Configuration OpenOCD + FT2232 under Ubuntu (Linux)
     
           
     
  CopyRight 2002-2020 newfreesoft.com, All Rights Reserved.