linux上传下载文件
有勇气的牛排
488
linux
2022-12-04 16:48:13
<p><font face="楷体,华文行楷,隶书,黑体" color="red" size="4"><strong>哈喽,大家好,我是有勇气的牛排(全网同名)🐮🐮🐮</strong></font></p>
<p><font face="楷体,华文行楷,隶书,黑体" color="blue" size="4"><strong>有问题的小伙伴欢迎在文末评论,点赞、收藏是对我最大的支持!!!。</strong></font></p>
<p><h3>文章目录</h3><ul><ul><li><a href="#1__5">1 安装</a></li><li><a href="#2__17">2 命令</a></li><li><a href="#3__24">3 报错</a></li></ul></ul></p>
<h2><a id="1__5"></a>1 安装</h2>
<p>1、ubuntu:</p>
<pre><div class="hljs"><code class="lang-shell">sudo apt install lrzsz
</code></div></pre>
<p>2、CentOS:</p>
<pre><div class="hljs"><code class="lang-shell">yum install lrzsz
</code></div></pre>
<h2><a id="2__17"></a>2 命令</h2>
<table>
<thead>
<tr>
<th>命令</th>
<th>解释</th>
</tr>
</thead>
<tbody>
<tr>
<td>rz</td>
<td>选择文件进行上传</td>
</tr>
<tr>
<td>sz 文件名</td>
<td>从linux上面下载文件</td>
</tr>
</tbody>
</table>
<h2><a id="3__24"></a>3 报错</h2>
<p>如果报错“E: Unable to locate package”访问下面链接</p>
<p><a href="https://blog.csdn.net/zx77588023/article/details/107588028" target="_blank">https://blog.csdn.net/zx77588023/article/details/107588028</a></p>
留言