Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. # 程序后台执行 screen
  2.  
  3. #### 创建并进入screen
  4.  
  5. ``` sh
  6. pungki@mint ~ $ screen
  7. ```
  8.  
  9. #### 列出所有screen
  10.  
  11. ``` sh
  12. pungki@mint ~ $ screen -ls
  13. There are screens on:
  14. 7849.pts-0.mint (10/06/2013 01:50:45 PM) (Detached)
  15. 5561.pts-0.mint (10/06/2013 11:12:05 AM) (Detached)
  16. 2 Sockets in /var/run/screen/S-pungki
  17. ```
  18.  
  19. #### 离开或结束screen
  20.  
  21. 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.
  22.  
  23. #### 重新进入screen
  24.  
  25. ``` sh
  26. pungki@mint ~ $ screen -r 7849
  27. ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement