title: Use of variable in mkdir command
body: <p>I'm trying to use a variable with <code>mkdir</code> but it does not create a new directory. If I try without the variable it works fine.</p>
  
  <pre><code>[kurs@localhost ~]$ K="~/a/`date +%Y%m%d`"
  [kurs@localhost ~]$ echo $K
  ~/a/20190926
  [kurs@localhost ~]$ mkdir $K
  mkdir: nie można utworzyć katalogu „~/a/20190926”: Nie ma takiego pliku ani katalogu
  [kurs@localhost ~]$ 
  [kurs@localhost ~]$ mkdir ~/a/20190926
  </code></pre>