Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!miavx1!pemurray From: pemurray@miavx1.acs.muohio.edu Newsgroups: comp.unix.questions Subject: Re: Getting rid of controlling terminal Message-ID: <1014.25ddbea2@miavx1.acs.muohio.edu> Date: 18 Feb 90 02:14:09 GMT References: <4018@rouge.usl.edu> Distribution: usa Lines: 21 In article <4018@rouge.usl.edu>, pcb@gator.cacs.usl.edu (Peter C. Bahrs) writes: > I hope this is the correct newsgroup, so many unix., but... > I want to run a job in the background and have it disconnect from > the associating terminal without hardcoding it. > i.e. when I do a ps -guax on Berkeley I want to see a ? in the tty column. > > So program args >& file Any suggestions? The problem is, on a SUN network anyway, if I use > the tty, then others cannot rlogin in to this machine (I rlogin'ed to invoke > the command). From the syntax of your command, I think your using the c-shell. To run a process in the background, the only thing you need to do is put an '&' on the end of your command. For instance: program arcs >& file & This process should continue even when you log out. Peter