Screen Commands: Difference between revisions
From Genome Analysis Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 49: | Line 49: | ||
| Prompt for window name/# to switch to || Ctrl-a ' | | Prompt for window name/# to switch to || Ctrl-a ' | ||
|- | |- | ||
| Present a list of all windows for selection | | Present a list of all windows for selection || Ctrl-a " | ||
|- | |- | ||
| Rename session || Ctrl-a : sessionname (name) | | Rename session || Ctrl-a : sessionname (name) | ||
|} | |} | ||
Latest revision as of 12:44, 6 February 2015
Use screen to save a session so that your commands continue to run even when you log off.
You really only need to use the top commands. The rest are "advanced" usage.
| From outside of Screen | |
|---|---|
| Start a new screen | screen |
| Resume an already running screen | screen -r |
| Create screen with name | screen -S name |
| From inside of Screen | |
| Detach | Ctrl-a d |
| "Advanced Commands" From inside of Screen | |
| Help | Ctrl-a ? |
| Create New Window | Ctrl-a c |
| List All Windows | Ctrl-a w |
| Kill Current Window | Ctrl-a k |
| Go to Window 0-9 | Ctrl-a (#) |
| Go to Next Window | Ctrl-a n |
| Go to Previous Window | Ctrl-a p |
| Name Window | Ctrl-a A |
| Log Current Window | Ctrl-a H |
| Quit Screen | Ctrl-a \ |
| Show Window Num & Tile | Ctrl-a N |
| Scroll in Window | Ctrl-a Esc (then move up/down) |
| Prompt for window name/# to switch to | Ctrl-a ' |
| Present a list of all windows for selection | Ctrl-a " |
| Rename session | Ctrl-a : sessionname (name) |