Launch Bash script with command line and full path
<p>I launch bash scripts normally with the ./ command. </p>

<p>But if I try to launch the script with the full path I get an error </p>

<blockquote>
  <p>No such file or directory</p>
</blockquote>

<p>I am so confused, I made a search to be sure to get the right path.</p>

<pre><code>$ pwd
/home/pi/server/

$ ls
start_scan

$ sudo chmod 777 start_scan

$ sudo find / -xdev -name start_scan
/home/pi/server/start_scan

$ ./home/pi/server/start_scan
-bash: ./home/pi/server/start_scan: No such file or directory
</code></pre>

<p>Do you have any idea what could the problem be? I am using a macbook to use SSH and connect to a Rapsberry Pi under Raspbian and execute the script there.</p>