Screen - PowerPoint PPT Presentation

screen n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Screen PowerPoint Presentation
play fullscreen
1 / 18
Screen
182 Views
Download Presentation
hammett-peterson
Download Presentation

Screen

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Screen Cli based screen manager for Linux/Unix

  2. Installing Screen Debian based systems: apt-get install screen Redhat based systems including centos: yum install screen

  3. Basic Usage Start screen with command screen Ctrl-a is a control key combination for all basic/advanced functions!

  4. Basic usage key combinations Ctrl-ac open a new screen Ctrl-a A rename current screen

  5. Basic usage key combinationslooking and moving around.. Ctrl-a w shows all open screen names in window’s title bar

  6. Basic usage key combinationslooking and moving around.. Ctrl-a ” opens window with all screen names visible, with arrow keys you can change to any screen on the list

  7. Basic usage key combinationslooking and moving around.. Ctrl-a 2 change to screen number 2 Ctrl-a space change to next screen

  8. Basic usage key combinationslooking and moving around.. Ctrl-a [ activates scrollback in a Screen (default value 1000 lines). To exit scrollback hit ESC.

  9. Advanced usage key combinations copy & paste Ctrl-a [ Also enters the copy mode. How to use steps: 1) Move around with arrow keys and find the starting place for copying 2) Hit Enter key in the place where you want to start copying. 3) Move around with arrow keys to paint the area you want to copy 4) Hit Enter key to stop copy.

  10. Advanced usage key combinationscopy & paste Ctrl-a ] This command allows you to paste copied content to for example text editor.

  11. Advanced usage key combinationslogging the output Ctrl-a H Begin/end logging of the current window to the file screenlog.n.

  12. Advanced usage key combinationsstopping the output temporarily Ctrl-a s Send a stop signal (associated with Ctrl-s by terminals) to current window. Ctrl-a q To start screen output again

  13. Splitting the screen.. Ctrl-a S Splitting screen in half, lets you see two windows at the same time. Very useful for debugging with tail.

  14. Moving between screens and unsplit Ctrl-a tab Move between split screens Ctrl-a Q Unsplit all windows from screen

  15. Detaching screen (closing screen temporarily) Ctrl-a d detach all screens. After this command screen program will continue to run in the background. It’s good to do this when you want to change your place from one computer to the other.

  16. Returning back to detached screenin a ”single” user system You can open detached screen with command screen -r If you have more than one screen in the same shell, you need to define with screen to open. You’ll have to type screen –r and number of screen you want to open.

  17. Returning back to detached screenwith another user If the other user is already logged in and the screen is open for him, you can open detached screen with command screen -x

  18. Links http://wiki.kartbuilding.net/index.php/Screen http://www.linuxdevcenter.com/linux/cmd/cmd.csp?path=s/screen http://www.rackaid.com/resources/linux-screen-tutorial-and-how-to/