[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: exec, stdin, stdout, stderr



---------- Forwarded message ----------
From: David Berg <drberg1000@gmail.com>
Date: Feb 25, 2006 12:22 AM
Subject: Re: exec, stdin, stdout, stderr
To: Andrew Cady <d@jerkface.net>


> > I think I understand most of it but can't figure out what `exec`
> > called without any arguments will do.  Does it simply replace the
> > shell with a copy of itself?
>
> $ help exec
> exec: exec [-cl] [-a name] file [redirection ...]
>     Exec FILE, replacing this shell with the specified program.
>     If FILE is not specified, the redirections take effect in this
>     shell.  If the first argument is `-l', then place a dash in the

Not sure how I missed that in the man page.  Thanks

--Dave

Reply to: