nohup

All posts tagged nohup by Linux Bash
  • Posted on
    Featured Image
    The article provides a guide on creating a Linux daemon that can resist termination by the `SIGHUP` signal, typically sent when a session logs out. It details the use of `nohup` and `disown` commands to prevent daemons from ending with the session. Starting with `nohup` to ignore hangup signals and appending `&` for background execution, followed by `disown` to eliminate the job from the shell's job table, ensures the daemon persists post-logout, ideal for continuous system tasks.