Terminal Lesson 24
4,765 views · Published 16 August 2012 · 9:18 · Indexed 1 November 2026
Channel: macheads101 · 2012 · Science & Technology
In this Terminal lesson, I show you how to use the UNIX screen command. Screen is a command-line window/tab manager with support for sessions. With sessions, screen allows you to run one or more command(s) in the background, even with Terminal or SSH closed, and then to resume viewing the output of these commands at a later date. Screen is an essential tool for any sysadmin whose job revolves around *NIX systems. Commands: screen # launch a new screen session screen -r # resume a screen session screen -list # list screen sessions Keystrokes: Ctrl+a c # create a new window Ctrl+a w # list active windows Ctrl+a n # switch to the next window Ctrl+a (number) # switch to a specific window Ctrl+a k # kill the active window Ctrl+a d # detach the screen session Ctrl+a Ctrl+\ # kill the screen session Learn more about the screen command: http://kb.iu.edu/data/acuy.html