title: Mounting a Windows hidden share in /etc/fstab. How do I escape the $
body: <p>If I want to mount a Windows hidden share to my Ubuntu filesystem, I do this and it works just fine:</p>
  
  <pre><code>mount –t cifs –o username=root,password=rootpassword,uid=www-data,gid=www-data //domain/dir\$ /mnt/dir
  </code></pre>
  
  <p>But when I try to make an entry into /etc/fstab, escaping the "$" doesn't work:</p>
  
  <pre><code>//domain/dir\$ /mnt/dir cifs credientials=/path/to/credentials,uid=www-data,gid=www-data   
  </code></pre>
  
  <p>My syntax should be otherwise correct as I'm able to mount using fstab other non-hidden Windows directories from the same server.</p>
  
  <p>How do I escape that "$" in fstab?</p>