On Wed, Jun 13, 2007 at 01:08:13AM +0100, Wayne Stallwood wrote:
On Wed, 2007-06-13 at 00:54 +0100, ted.harding@nessie.mcc.ac.uk wrote:
('set', by the way, should work regardless of your PATH since it is a shell command and not a binary. On the other hand, if your PATH is empty, then 'echo $PATH' will not work, since 'echo' is in /bin. Nor will 'env', since it is also in /bin)).
A good point Ted !
of course if the path is the problem echo $PATH won't work 'set' is the way forward
Errr, echo is a bash builtin, too (and has been for quite some time) - so, it *should* work - I don't know what half arsed shell Ted is using, but most of them have echo builtin as far as I'm aware.
Thanks,