Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

169
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda