From Genome Analysis Wiki
Jump to navigationJump to search
215 bytes added
, 12:44, 6 February 2015
Line 1: |
Line 1: |
| Use screen to save a session so that your commands continue to run even when you log off. | | 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 3 commands. The rest are "advanced" usage. | + | You really only need to use the top commands. The rest are "advanced" usage. |
| | | |
| {| border="1" cellspacing="0" cellpadding="2" | | {| border="1" cellspacing="0" cellpadding="2" |
Line 10: |
Line 10: |
| |- | | |- |
| | Resume an already running screen || screen -r | | | Resume an already running screen || screen -r |
| + | |- |
| + | | Create screen with name || screen -S name |
| |- | | |- |
| |colspan="2"| | | |colspan="2"| |
Line 29: |
Line 31: |
| | Kill Current Window || Ctrl-a k | | | Kill Current Window || Ctrl-a k |
| |- | | |- |
− | | Go to Window 0-9 || Ctrl-a # | + | | Go to Window 0-9 || Ctrl-a (#) |
| |- | | |- |
| | Go to Next Window || Ctrl-a n | | | Go to Next Window || Ctrl-a n |
Line 44: |
Line 46: |
| |- | | |- |
| | Scroll in Window || Ctrl-a Esc (then move up/down) | | | 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) |
| |} | | |} |