home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!paladin.american.edu!howland.reston.ans.net!zaphod.mps.ohio-state.edu!cs.utexas.edu!asuvax!elam.mdl.sandia.gov!cs.sandia.gov!jhgreen
- From: jhgreen@cs.sandia.gov (Jethro H. Greene)
- Subject: Directing error while using nohup
- Message-ID: <1992Dec31.180509.8613@cs.sandia.gov>
- Followup-To: comp.unix.questions
- Originator: jhgreen@cs.sandia.gov
- Sender: jhgreen@cs.sandia.gov
- Organization: Sandia National Laboratories, Albuquerque, NM
- Date: Thu, 31 Dec 92 18:05:09 GMT
- Lines: 13
-
- Why do these commands have different results?
-
- head /etc/passwd /etc/foo.bar > 1.out 2> 2.out
-
- nohup head /etc/passwd /etc/foo.bar > 1.out 2> 2.out
-
- The second puts the standard error in file 1.out and leaves 2.out empty.
-
- Why? What can I do to get the output I expect?
-
-
- Thanks in advance.
-
-