added also explicit stdout redirection to command -v