From: "Robert M. Riches Jr" <spamtrap42@verizon.net>
Subject: Re: background jobs with nohup and &
Date: Wed, 15 Oct 2003 19:56:05 GMT [thread overview]
Message-ID: <slrnbor9ik.gnn.rob@one.localnet> (raw)
In-Reply-To: 5b97e376.0310151124.580fe46a@posting.google.com
In article <5b97e376.0310151124.580fe46a@posting.google.com>, Shamli wrote:
> I am have a program runs under alfha.
> The program sends output to the shell and file.
> My problem is that although the program runs in the background and it
> still send the output to my shell, and i can not see the nohup.out
> file
> the server OS is REDHAT 6.10
At least for RHL 8.0, the nohup info page says it sends
output to a file, but when I ran 'nohup ls' it sent the
output to the xterm from which the command was launched.
Maybe the info page might be inaccurate.
I don't know about alfha.
If you're just trying to run a command in the background
with output sent to a file, why not just do that? I use
C-shell (/bin/csh) and normally do
somecommand < /dev/null >& output.file &
There is some cryptic substitute for '>&' if you're using
bash, but I'm not acquainted with what it is.
For good measure, I often launch the command from an xterm I
created just to launch that one command. After the command
is launched, I terminate the xterm.
Good luck.
Robert Riches
spamtrap42@verizon.net
(Yes, that is one of my email addresses.)
next prev parent reply other threads:[~2003-10-15 19:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-15 19:24 background jobs with nohup and & Shamli
2003-10-15 19:56 ` Robert M. Riches Jr [this message]
2003-10-15 20:26 ` Måns Rullgård
2003-10-16 16:58 ` Michal Jaegermann
2003-10-16 18:16 ` Bill Marcum
2003-10-16 19:09 ` Dave Brown
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox