Screen: Unterschied zwischen den Versionen

Aus SchnallIchNet
Wechseln zu: Navigation, Suche
Zeile 11: Zeile 11:
 
# To reattach to a detached session..<br/>"screen -r <11546.pts-5.hostname>" (session name from the output of the screen -list command)
 
# To reattach to a detached session..<br/>"screen -r <11546.pts-5.hostname>" (session name from the output of the screen -list command)
 
# To end that session you can either type<br/>"exit" or a (ctrl+d)
 
# To end that session you can either type<br/>"exit" or a (ctrl+d)
 +
 +
==Siehe auch==
 +
[[Bash:detach | Detach a process from console]]

Version vom 11. Dezember 2009, 09:48 Uhr

Basics

  1. To start a new sub session (Virtual Session) type
    ((ctrl+a) c)
    Please ignore the plus (+)symbol, this essentially means "ctrl a then c"
  2. To switch between sessions...
    ((ctrl+a) <space bar>)
  3. To switch between your previous session and the current one..
    ((ctrl+a) a)
  4. To kill a frozen session...
    ((ctrl+a) k)
  5. To see a list of available commands...
    ((ctrl+a) ?)
  6. To see a list of virtual terminals you have open..
    ((ctrl+a) ")
  7. To Detach from a screen session and not lose any of your virtual terminals...
    ((ctrl+a) d) ( This is one of the best features of screen!! )
  8. To view current screen sessions once you are logged out of screen..
    "screen -list"
  9. To reattach to an Attached session (Session that was not detached properly)
    "screen -D -r <11546.pts-5.hostname>" (session name from the output of the screen -list command)
  10. To reattach to a detached session..
    "screen -r <11546.pts-5.hostname>" (session name from the output of the screen -list command)
  11. To end that session you can either type
    "exit" or a (ctrl+d)

Siehe auch

Detach a process from console