Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

167
Views
starting a linux script in deamon mode and terminating when requried

I need to start a linux script in a background in deamon mode and then kill it when requried. To that end I try the following

script.sh -daemon -p zpid

What I'm confused about the above is,

  • What is the -daemon flag, I assume this says to start the process as a daemon. Is this the same as using -d ?
  • What does the -p zpid part do ? I assume it assigns the processID to the zpid variable ?
  • How do I kill the process?
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

The -d represent the daemon and the -p is for naming the process id then you can use that name to find the process and stop it with this command ps aux | grep -i zipid

But I think its better to use screen or tmux as you can also see the output as well.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!