title: Define alias for a directory as an argument to cd in Bash
body: <p>I am using Windows 10 Linux Subsystem (Ubuntu Bash).</p>
  
  <p>I want to access my Windows folder from Ubuntu Bash.</p>
  
  <p>The folder I want to access is (note that there are spaces in the names):</p>
  
  <pre><code>/mnt/c/Users/some folder1/some folder2/destination - folder/
  </code></pre>
  
  <p>What I do now in Bash is:</p>
  
  <pre><code>~$ cd /mnt/c/Users/some\ folder1/some\ folder2/destination\ -\ folder/
  </code></pre>
  
  <p>Because the directory is too deep, I don't want to type the long command every time. So I want to define an alias for that folder.</p>
  
  <p>In Bash, I created a file <code>~/.bash_aliases</code>. And in the file <code>~/.bashrc</code> there is following command:</p>
  
  <pre><code>if [ -f ~/.bash_aliases ]; then
      . ~/.bash_aliases
  fi
  </code></pre>
  
  <p>Next, I want to add the following line in <code>~/.bash_aliases</code>:</p>
  
  <pre><code>alias mf=&lt;the correct format of the directory&gt;
  </code></pre>
  
  <p>After <code>mf</code> is defined, I want to switch to the directory using the following command:</p>
  
  <pre><code>~$ cd mf
  </code></pre>
  
  <p>Can you help me with this?</p>
  
  <p>1) How do write the <code>&lt;the correct format of the directory&gt;</code>?</p>
  
  <p>2) What else do I need to do in order to use</p>
  
  <pre><code>~$ cd mf
  </code></pre>