How can I find where a program is running from? I tried using
which gclone but it didn't show anything. For example, I want the command to return the location of the script or command.
or run gclone and do:
find . -perm /u+x -type f
to find it. the second command will find all the executables.
I assume "gclone" is a script that you made ? The "which" command only shows programs or scripts that are in the PATH. You could copy your script in /usr/local/bin/ and then try again (Note that /usr/local/bin/ can be read by all users on that computer). Can you try that ?