'man which' says:
--all, -a
Print all matching executables in PATH, not just the first.
But when I do that, I get:
> which --all g++
--all: Command not found.
/usr/bin/g++
> which -a g++
-a: Command not found.
/usr/bin/g++
Tried placing --all or -a after "g++" too, no luck.
برچسب:
نویسنده: استخدام کار