title: Linux ~/.bashrc export most recent directory
body: <p>I have several environment variables in my ~/.bashrc that point to different directories. I am running a program that creates a new folder every time that it runs and puts a time stamp in the directory name. For example, <code>baseline_2015_11_10_15_40_31-model-stride_1-type_1</code>. Is there away of making a variable that can link to the last created directory?</p>
  
  <pre><code>cd $CURRENT_DIR
  </code></pre>