Kategorie: Linux

Screen, that is, the virtual consoles in Debian systems and Centos

Screen, ie the virtual console.

Working on Linux, there are situations, in which the user after logging in and starting the program, He would like to continue to work even if it will be necessary to log out. Implementation of the program / script continues after the close of the session allows the user screen command, która tworzy w systemie “wirtualny” terminal, which keeps an instance of logged-in user, and what is associated with it included in the scripts, programs.

We install the program with the command:

apt-get install screen -y

Centos:

yum install screen

Some useful commands, m.in. launch of a new console:

screen -S nazwa_konsoli

List of running console:

screen -ls

The transition to an existing console:

screen -r nazwa_konsoli/PID 

The transition to the existing if there, otherwise, creates a new:

screen -R nazwa_konsoli

Running the command console "in the background":

screen -dmS nazwa_konsoli polecenie

Output / close the Console:

exit

If we want to get out of the virtual console, but leave it to continue the work we are doing is using the CTRL + A and then Ctrl + D.

Linux

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

2 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

2 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

2 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

2 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

2 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

2 years temu