Comments on: Avoid Using which(1) https://pthree.org/2011/09/26/avoid-using-which1/ Linux. GNU. Freedom. Tue, 31 Oct 2017 18:00:46 +0000 hourly 1 https://wordpress.org/?v=5.0-alpha-42199 By: Aaron Toponce https://pthree.org/2011/09/26/avoid-using-which1/#comment-115976 Mon, 26 Sep 2011 17:19:06 +0000 http://pthree.org/?p=2054#comment-115976 @yazul- Except that it's Debian-specific. While POSIX standardized, you can't rely on that script being available for other operating systems. Best to learn the shell's built-ins.

@Sam- I mentioned the "type" built-in from Bash, although not specifically the "-a" switch.

]]>
By: Sam https://pthree.org/2011/09/26/avoid-using-which1/#comment-115975 Mon, 26 Sep 2011 16:29:36 +0000 http://pthree.org/?p=2054#comment-115975 type -a

??

]]>
By: yazul https://pthree.org/2011/09/26/avoid-using-which1/#comment-115974 Mon, 26 Sep 2011 15:37:47 +0000 http://pthree.org/?p=2054#comment-115974 There is a good, reliable, and portable shell script "which" from debianutils.

]]>