title: How to dot-dot from non-existent directory in Linux (dir1/non-existent-dir/./file)
body: <p>Is there any way to dot-dot cd/ls/whatever if the path has an non-existent directory in it? Maybe there is some syntax to do so?</p>
  <p>E.g. I need to cat the file <code>valid_dir/file.txt</code> but for some reason I can't to it directly.</p>
  <pre><code>$&gt; cat valid_dir/non-existent-dir/../file.txt
  </code></pre>