linuxangularbackgroundgitbook

How do I keep programs in CentOS7?


I am a beginner in using Linux. I have run programs in the server through the Windows Terminal.

# gitbook build &
# ng serve &

But when I quit the terminal window, it ended with gitbook, anguler. How can I keep it going? I want to know the most common ways.


Solution

  • Try to run with nohup, it runs a command immune to hangups:

    nohup gitbook build > /dev/null

    or

    nohup gitbook build > /dev/null &