H
H
hckn2018-08-19 18:30:44
linux
hckn, 2018-08-19 18:30:44

How to run screen without the welcome screen?

To start the process in the background, I try to usescreen

#!/bin/bash

screen
/home/.../Telegram/Telegram -many -workdir /home/.../account-one

The problem is that at the first start, the screenwelcome screen of the program pops up. Every time the OS is started. How to turn it off?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2018-08-19
@hckn

1. Just run the screen with the specified command, for example
2. You can run the script in detach mode and connect to it:

screen -d -m
screen -r
/home/.../Telegram/Telegram -many -workdir /home/.../account-one

3. In the background, commands are usually launched through &
or via & and nohup
nohup /home/.../Telegram/Telegram -many -workdir /home/.../account-one &

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question