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

Revolutionizing Air Quality Monitoring: How I Upgraded Our System with Mila Integration for Smart Home Automation

In this blog post , I explained how I set up an air quality monitoring system for our neighborhood. With this setup, we can keep an eye on t...