screen

screen manager with VT100/ANSI terminal emulation

copy
13
1
screen vim myfile.txtCreate a new screen window and open myfile.txt in vim

details |

copy
2
0
screen -D -RRDetach already-attached clients and attach to the first session listed.

details |

copy
6
0
screen -RResume previous session if none create one

details |

copy
2
3
screen -t top 2 nice topAdding this line to your .screenrc would start a niced version of the top command in window 2 named top rather than nice

details |

copy
3
0
screen -lsThis returns the list of screens

details |

copy
2
0
screen -r 1865.pts-0.myserverReconnect screen to the sessions on 1865.pts-0.myserver

details |

copy
2
1
screen -S mySessionCreate a new screen with session name mySession.

details |

copy
8
1
screen -dmS mySessionLaunch the screen session in detached mode and name the session mySession

details |

copy
1
0
screen -fn -t foobar -L 2 telnet foobarScreen creates a new window with a TELNET connection to the machine foobar (with no flow-control using the title "foobar"

details |

copy
1
0
screen -x username/sessionTo connect to another users session

details |

copy
0
0
bind \033 screen -ln -t root -h 1000 9 su

source | details |

copy
0
0
screen -t top 2 nice top

source | details |

copy
0
0
screen 1

source | details |

copy
0
0
screen -fn -t foobar -L 2 telnet foobar

source | details |

copy
0
0
screen 1

source | details |

copy
0
0
bind R screen -t '% |root:' su

source | details |

copy
0
0
bind ^f screen telnet foobar

source | details |