On Fri, Sep 20, 2002 at 08:26:49AM -0500, Chris Frederick wrote:
> I'm wondering how I can run a program from a telnet/ssh session and
> still have it running after I log off the session.
> 
> e.g.  When I run the following command, it stops as soon as I log out.
> tree -d /usr > junk &

I think that you just need to redirect input, so the input stream
doesn't get cutoff when you logout.  Also you probably need to
redirect standard error as well.  With {t}csh, try:
tree -d /usr >& junk </dev/null &

I'll let someone else answer it for bash.

-- 
Jim Crumley                  |Twin Cities Linux Users Group Mailing List (TCLUG)
crumley at fields.space.umn.edu |Minneapolis/St. Paul, Minnesota 
Ruthless Debian Zealot       |http://www.mn-linux.org/ 
Never laugh at live dragons  |Dmitry's free,Jon's next? http://faircopyright.org