I wanted to query if a program is installed in a Linux system. From
bash I would do something as
type -p program or similar, as explained here.
If I try something such as
read(`type -p program`) within julia I get an error.
command -v program or
hash program also do not work. If I try
which program I get an error if the program does not exist. Any ideas?
In the meantime I am querying if the file/program exists in a known location. Thanks!