Thanks for the quick replies from: Steve Maher David Foster Darren Dunham William J. Bochnik All of you guy provided the information that I wanted. My initial confusion came from the fact that I tried to catch the output after the "&", such as: tar xvf a_tar_file & > /tmp/log 2>&1 of course it did not work for me. The correct way of doing this is: tar xvf a_tar_file > /tmp/log 2>&1 & As far as recording the PID is concerned, $! seems to be the easiest way to go. I like Steve's way of handling this: scriptone.sh > /var/scriptone.$!.txt 2>&1 & Zaigui Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Thu Dec 5 15:22:54 2002
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:59 EST