Saturday, January 28, 2006

running command detached from console


I had used this command before, but I forgot it.  nohup is a program  that lets you run a command and lets it continue even when even when the user logs out.


The way you use this command is:



nohup <command to run> &


Then you can see the output by tailing nohup.out.


[via Compaq ProLiant Servers and Linux]


Technorati Tags:

1 comment:

  1. You could also have a look at "screen" (man 1 screen) -- useful for interactive programs

    ReplyDelete

Seamless Local Control: Integrating WeatherFlow with Home Assistant Across VLANs

I've been pleased with my Home Assistant setup for some time now. One of my main focuses has been achieving local control. This ensures...