T
T
Type Programmer2018-02-25 21:07:50
SSH
Type Programmer, 2018-02-25 21:07:50

Ubuntu how to make command execution independent of console?

How to make this code while true; do netcat -l -p 1330 >> public_txt; done &, could work separately from the command line, but as soon as I close the terminal on ssh and the command itself stops executing...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Syomov, 2018-02-25
@MegaCraZy6

tmux, screen, nohup, or even run as a service via systemd...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question