You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Table of contents that is only displayed when printing the page -->
220
+
<divid="jb-print-docs-body" class="onlyprint">
221
+
<h1>Terminal Commands</h1>
222
+
<!-- Table of contents -->
223
+
<divid="print-main-content">
224
+
<divid="jb-print-toc">
225
+
226
+
</div>
227
+
</div>
228
+
</div>
229
+
<mainid="main-content" role="main">
230
+
231
+
<div>
232
+
233
+
<sectionid="terminal-commands">
234
+
<h1>Terminal Commands<aclass="headerlink" href="#terminal-commands" title="Permalink to this headline">#</a></h1>
235
+
<dl>
236
+
<dt><codeclass="code bash docutils literal notranslate"><spanclass="pre">mv</span><spanclass="pre"><source></span><spanclass="pre"><destination></span></code></dt><dd><p>Move and optionally rename file or directory.</p>
237
+
<dlclass="simple">
238
+
<dt><codeclass="code bash docutils literal notranslate"><spanclass="pre">-f,</span><spanclass="pre">--force</span></code></dt><dd><p>Do not prompt before overwrite. Not safe so use carefully.</p>
239
+
</dd>
240
+
<dt><codeclass="code bash docutils literal notranslate"><spanclass="pre">-i,</span><spanclass="pre">--interactive</span></code></dt><dd><p>Interactive mode. Prompt before overwrite.</p>
241
+
</dd>
242
+
<dt><codeclass="code bash docutils literal notranslate"><spanclass="pre">-n,</span><spanclass="pre">--no-clobber</span></code></dt><dd><p>Do not overwrite an existing file. Do not prompt if a move has been skipped to avoid overwrite.</p>
243
+
</dd>
244
+
</dl>
245
+
<p>If more than one of <codeclass="code bash docutils literal notranslate"><spanclass="pre">-f</span></code>, <codeclass="code bash docutils literal notranslate"><spanclass="pre">-i</span></code>, and <codeclass="code bash docutils literal notranslate"><spanclass="pre">-n</span></code> only the final one will take effect.</p>
246
+
<dlclass="simple">
247
+
<dt><codeclass="code bash docutils literal notranslate"><spanclass="pre">mv</span><spanclass="pre"><source></span><spanclass="pre">.</span></code></dt><dd><p>Move <codeclass="code bash docutils literal notranslate"><spanclass="pre"><source></span></code> to current directory.</p>
248
+
</dd>
249
+
</dl>
250
+
<p><strong>TIP:</strong> In most cases use <codeclass="code bash docutils literal notranslate"><spanclass="pre">-i</span></code> to avoid overwriting unintended existing files.</p>
0 commit comments