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

Mastering Matter: Seamless Smart Home Integration with Network Segmentation

I’ve been intrigued by the idea of integrating devices with Matter for some time. My smart home setup includes a pair of SwitchBot Hubs, som...