Hi Steffen,

> We use command -v, which should not return something for which no
> executable bit is set?

    $ >/tmp/foo
    $ PATH=/tmp:$PATH bash -c 'command -v foo'
    /tmp/foo
    $ >/tmp/ls
    $ PATH=/tmp:$PATH bash -c 'command -v ls'
    /usr/bin/ls
    $

-- 
Cheers, Ralph.
https://plus.google.com/+RalphCorderoy

Reply via email to