posted 22 years ago
This line redirects the standard output file to the file you named instead of the screen. Your program is probably sending output to the standard error file, also the screen by default. You could illustrate this difference in your command line by showing the descriptor number standard output is know by (1):
To make sure that both standard output and error write to the log, use this:
Here the shell is told to send data passed through the standard error descriptor (or "2" for short here) to the same location as 1, which is /var/log/ppp.log.
Putting a process in the background does not mean the program will run if you log out. To do that, use the nohup command, like this:
As you log out, your shell might complain that processes are running, but that's just a warning that you're leaving something unattended.
Make visible what, without you, might perhaps never have been seen.
- Robert Bresson