Nohup guide

From D-Wiki
Revision as of 21:21, 20 May 2023 by Denis (talk | contribs) (Created page with "Usage: nohup <your command> -> Runs the command continously, even after logout/session closage. It prints the terminal output to a text file called "nohup.out". Adding a "&...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage:

nohup <your command>

-> Runs the command continously, even after logout/session closage. It prints the terminal output to a text file called "nohup.out".

Adding a "&" right after like this "nohup <your command> &" runs the command continously in the background.


To kill this process. Find the PID (process ID).

This can be done i.e. using "ps -ef" and then searching for it via the origin executable.

Then execute "kill -9 <PID>".