What screen does is multiplex a physical terminal between multiple virtual terminals. screen makes it possible to let processes run even when you terminate a physical terminal by detatching the virtual terminals beforehand. screen also detaches upon hang up, allowing you to reattach when you log back in.
- -r pid
- Reattach screen with pid
- -ls
- LiSt the running screen processes.
- -S sessionname
- Session name. This name is now synonymous with the pid.
While running screen:
- ^a c
- Create a new window.
- ^a d
- Detatch the current screen.
- ^a “
- Presents a list of all windows for selection.
- ^a A
- Allows you to rename the current window.
- ^a k
- Kill the current window.
- ^a n
- Switch to Next window.
- ^a p
- Switch to Previous window.