title: How to set PATH in Ubuntu 17.10 for custom path
body: <p>I made a folder called bin in <code>/home/USER/bin</code> on this, I created a file called <code>hello</code> ( for example) with this code:</p>
  
  <pre><code>#!/bin/bash    
  echo My first program
  </code></pre>
  
  <p>I did execute <code>export PATH=$PATH":$HOME/bin"</code> and then <code>$ . ~/.bashrc</code>, but when I restarted the PATH is restored to default.</p>
  
  <p>How can I resolve it?</p>
  
  <p>Thank you!</p>