title: Bash: how to get real path of a symlink?
body: <p>Is it possible, executing a file symlinked in <code>/usr/local/bin</code> folder, to get the absolute path of original script? Well, .. I know where original file is, and I know it because I am linkging it. But, ... I want this script working, even if I move original source code (and symlink).</p>
  <pre><code>#!/bin/bash
  echo &quot;my path is ...&quot;
  </code></pre>