Comment Comment by torso If you're using Bash, you can use this shorthand: which curl >& /dev/null parent torso 13 years ago