【问题标题】:How can I rename a directory in linux with terminal? [closed]如何使用终端重命名 linux 中的目录? [关闭]
【发布时间】:2021-05-24 05:23:20
【问题描述】:

场景:我通过 ssh 连接到远程服务器并创建了一个名为 helloworld/ 的目录,在使用了一段时间后,我想将其重命名为hello_world/ 我想知道如何轻松做到这一点。

我在网上找了很多资源,但我认为这是一件很简单的事情,所以我想会有一个简单的方法来实现这一点。

请告诉我

【问题讨论】:

  • 我想如果你将问题的标题复制到你最喜欢的搜索引擎中,你可能会找到数百个答案。

标签: linux ubuntu linux-kernel ubuntu-18.04 linux-mint


【解决方案1】:

mv <source_directory> <target_directory>

【讨论】:

    猜你喜欢
    • 2021-12-18
    • 2013-07-03
    • 2016-01-12
    • 1970-01-01
    • 2020-10-09
    • 2012-07-20
    • 2021-12-07
    • 2014-02-27
    • 2011-01-02
    相关资源
    最近更新 更多