Skip to main content

Menggunakan Screen di Linux

Screen dapat digunakan untuk penggunaan shell yang memerlukan waktu panjang dan tanpa khawatir terputus koneksi dengan server.

Installasi Screen di Linux

berikut cara installasi screen di linux :

# debian/ubuntu
apt install screen

#centos/rhel/etc
yum install screen

Membuat Screen Baru

screen

Screenshot 2023-07-23 at 17.39.57.png

welcome screen

GNU Screen version 4.08.00 (GNU) 05-Feb-20

Copyright (c) 2018-2020 Alexander Naumov, Amadeusz Slawinski
Copyright (c) 2015-2017 Juergen Weigert, Alexander Naumov, Amadeusz Slawinski
Copyright (c) 2010-2014 Juergen Weigert, Sadrul Habib Chowdhury
Copyright (c) 2008-2009 Juergen Weigert, Michael Schroeder, Micah Cowan, Sadrul Habib Chowdhury
Copyright (c) 1993-2007 Juergen Weigert, Michael Schroeder
Copyright (c) 1987 Oliver Laumann

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software
Foundation; either version 3, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see the file COPYING); if not, see https://www.gnu.org/licenses/,
or contact Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA.

Send bugreports, fixes, enhancements, t-shirts, money, beer & pizza to screen-devel@gnu.org


Capabilities:
+copy +remote-detach +power-detach +multi-attach +multi-user +font +color-256 +utf8 +rxvt +builtin-telnet

Screenshot 2023-07-23 at 17.37.30.png

tekan spasi atau enter untuk masuk mode screen, di screen anda bebas menggunakan perintah linux apapun, jika koneksi terputus anda masih bisa kembali ke session screen yang sudah di create.

Screen Key Bindings

untuk melihat fungsi yang ada pada Screen, setelah masuk pada session screen, tekan keyboard "Ctrl + a" lalu "?". (input karakter ? dengan shift). berikut key bindings screen

                                                               Screen key bindings, page 1 of 1.

                                                               Command key:  ^A   Literal ^A:  a

break       ^B b       fit         F          lastmsg     ^M m       number      N          redisplay   ^L l       suspend     ^Z z       writebuf    >         
clear       C          flow        ^F f       license     ,          only        Q          remove      X          time        ^T t       xoff        ^S s      
colon       :          focus       ^I         lockscreen  ^X x       other       ^A         removebuf   =          title       A          xon         ^Q q      
copy        ^[ [       hardcopy    h          log         H          pow_break   B          reset       Z          vbell       ^G        
detach      ^D d       help        ?          login       L          pow_detach  D          screen      ^C c       version     v         
digraph     ^V         history     { }        meta        a          prev        ^H ^P p ^? select      '          width       W         
displays    *          info        i          monitor     M          quit        \          silence     _          windows     ^W w      
dumptermcap .          kill        K k        next        ^@ ^N sp n readbuf     <          split       S          wrap        ^R r      

^]   paste .
"    windowlist -b
-    select -
0    select 0
1    select 1
2    select 2
3    select 3
4    select 4
5    select 5
6    select 6
7    select 7
8    select 8
9    select 9
I    login on
O    login off
]    paste .
|    split -v
:kB: focus prev

                                                              [Press Space or Return to end.]

Screenshot 2023-07-23 at 17.41.53.png

tekan spasi atau enter untuk keluar dari screen key bindings

Keluar dari Screen

untuk keluar dari screen tekan keyboard "Ctrl+a" kemudian "d"

Screenshot 2023-07-23 at 17.43.34.png