snipt

Ctrl+h for KB shortcuts

Bash

mount a window shared folder

mount -t cifs //ntserver/download -o username=vivek,password=myPassword /mnt/ntserver
https://snipt.net/embed/edcad141d5f5c9b3e6ade4ca66e18682/
/raw/edcad141d5f5c9b3e6ade4ca66e18682/
edcad141d5f5c9b3e6ade4ca66e18682
bash
Bash
1
2019-08-20T01:51:49
True
False
False
/api/public/snipt/18696/
mount-a-window-shared-folder
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>mount -t cifs //ntserver/download -o <span class="nv">username</span><span class="o">=</span>vivek,password<span class="o">=</span>myPassword /mnt/ntserver </span></pre></div> </td></tr></table>
bash, linux, samba, sysadmin, windows