SO i have a Bash Script like this and goal is to determine the path of an executable file and i want to print it, here is what i'm doing
#!/bin/bash exepath=which exe echo "$exepath" Now this instead of printing path its starting the exe file in my system, how do i print the path stored in exepath variable.
command -v exe.