New answers tagged

2

So, you have this: $ foo() { echo "$FOO"; } $ FOO=bar foo bar So: $ env FOO=bar foo env: foo: No such file or directory Where is env looking for the command? info man declares: The first operand that does not contain the character '=' specifies the program to invoke; it is searched for according to the 'PATH' environment variable. Hmm. Well, foo ...


Top 50 recent answers are included