Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Linux screen commonly commands     - DNF Command Tutorial (Linux)

- Oracle 11g DataGuard service to start automatically (Database)

- PXE installation of Linux servers (Server)

- Linux RPM (Linux)

- Linux and Unix systems really do network more secure (Linux)

- Linux systems use logwatch log file monitoring (Linux)

- Oracle 11g contraction table space error ORA-03297: file contains used data beyondrequested RESIZE value (Database)

- iscsiadm command usage (Linux)

- Ubuntu 14.04 Configuring cuda-convnet (Linux)

- Android Send HTTP POST requests (Programming)

- Tmux Getting Start (Linux)

- Java garbage collection (Programming)

- How ONLYOFFICE collaborative editing document on Linux (Linux)

- 12 Linux Process Management Commands (Linux)

- The principle Httpclient4.4 (execution request) (Programming)

- CentOS 7 Change Hostname (Linux)

- Linux batch copy data script (Linux)

- LNMP Note: Addressing mail function can not send mail (Server)

- Ubuntu 12.04 installation DHCP Server (Server)

- Java JDK has been able to compile without warning (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:      
 
- Learning C ++ Standard Template Library and data structures (Programming)
- Arronax allows you to easily create desktop startup file (Linux)
- Linux System Getting Started Tutorial: how to find information on Linux-embedded module (Linux)
- osprofiler use OpenStack Cinder Lane (Server)
- CentOS 6.4 Python 2.6 upgrade to 2.7 (Linux)
- I use the desktop environment in GNU / Linux combination tool (Linux)
- Killall five options you might not know (Linux)
- Linux security configuration (Linux)
- Debian 7.6 install Nvidia graphics driver (Linux)
- Kali Linux resolve GPG error KEYEXPIRED 1425567400 (Linux)
- Linux Network Programming --TCP and UDP datagram type Explanation (Programming)
- Linux 64-bit porting (Programming)
- Hadoop2.4.0 Eclipse plug-in making (Server)
- Some safety precautions of Linux servers (Linux)
- How to Install terminator 0.98 on Ubuntu and Linux Mint (Linux)
- To install the mail client terminal Evolution 3.13.2 under Ubuntu 14.04 (Linux)
- MySQL High Availability plan several options (Database)
- How to Install Redis server on CentOS 7 (Server)
- Hackers is how the invasion and control of Things devices? (Linux)
- Linux Demo dd IO test (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.