Re: OT: Bash: what is eval doing here?
On Sat, 11 Jun 2022 at 01:57, Kamil Jońca <kjonca@o2.pl> wrote:
> rhkramer@gmail.com writes:
> > In my (seemingly unending) quest to understand ssh, I've come across a
> > document that calls for running =eval 'ssh-agent'= from a command line.
> >
> > I wondered why, as I thought I would get the same result from just running
> > =ssh-agent=, but the results are different -- see below:
$ help eval
eval: eval [arg ...]
Execute arguments as a shell command.
Combine ARGs into a single string, use the result as input to the shell,
and execute the resulting commands.
Exit Status:
Returns exit status of command or success if command is null.
$
Reply to: