From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,cf04371fd6186e4b X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2003-10-15 12:56:09 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!west.cox.net!east.cox.net!peer01.cox.net!cox.net!cyclone1.gnilink.net!spamkiller.gnilink.net!nwrddc01.gnilink.net.POSTED!37d89e9d!not-for-mail Newsgroups: comp.os.linux.alpha From: "Robert M. Riches Jr" Subject: Re: background jobs with nohup and & References: <5b97e376.0310151124.580fe46a@posting.google.com> Organization: none-at-all Reply-To: spamtrap42@verizon.net Message-ID: User-Agent: slrn/0.9.7.4 (Linux) Date: Wed, 15 Oct 2003 19:56:05 GMT NNTP-Posting-Host: 4.5.29.32 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc01.gnilink.net 1066247765 4.5.29.32 (Wed, 15 Oct 2003 15:56:05 EDT) NNTP-Posting-Date: Wed, 15 Oct 2003 15:56:05 EDT Xref: archiver1.google.com comp.os.linux.alpha:47 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.)