Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 程序后台执行 screen
- #### 创建并进入screen
- ``` sh
- pungki@mint ~ $ screen
- ```
- #### 列出所有screen
- ``` sh
- pungki@mint ~ $ screen -ls
- There are screens on:
- 7849.pts-0.mint (10/06/2013 01:50:45 PM) (Detached)
- 5561.pts-0.mint (10/06/2013 11:12:05 AM) (Detached)
- 2 Sockets in /var/run/screen/S-pungki
- ```
- #### 离开或结束screen
- There are 2 (two) ways to leaving the screen. First, we are using “Ctrl-A” and “d” to detach the screen. Second, we can use the exit command to terminating screen. You also can use “Ctrl-A” and “K” to kill the screen.
- #### 重新进入screen
- ``` sh
- pungki@mint ~ $ screen -r 7849
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement