- or download this
DESCRIPTION
which returns the pathnames of the files (or links) which would be exe
+-
...
mands in a strictly POSIX-conformant shell. It does this by searchin
+g
the PATH for executable files matching the names of the arguments. I
+t
does not canonicalize path names.
- or download this
$ echo $SHELL
/bin/bash
- or download this
$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/game
+s:/usr/local/games:/snap/bin
...
$ perl -le 'print $];'
5.026001
- or download this
$ perl -le 'print $];'
5.026001
$ export PATH=~/nonexistent:$PATH
$ perl -le 'print $];'
5.028000