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

Unlocking Raspberry Pi Potential: Navigating Network Booting Challenges for Enhanced Performance and Reliability

I've set up several Raspberry Pis around our house for various projects, but one recurring challenge is the potential for SD card failur...