D
D
DVoropaev2018-12-11 01:38:10
linux
DVoropaev, 2018-12-11 01:38:10

Why is systemd-run needed?

And what does this team do?
systemd-run -t /bin/bash

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Radjah, 2018-12-11
@DVoropaev

https://www.freedesktop.org/software/systemd/man/s...

--pty, -t
When invoking the command, the transient service connects its standard input, output and error to the terminal systemd-run is invoked on, via a pseudo TTY device. This allows running programs that expect interactive user input/output as services, such as interactive command shells.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question