shell命令cd回退
时间: 2023-10-22 15:25:43 浏览: 92
Shell命令cd用于切换当前工作目录。如果要回退到上一级目录,可以使用`cd ..`命令。这将使当前目录变为上一级目录。换句话说,它将取消当前目录的最后一个目录路径部分。例如,如果当前目录为`/home/user/documents`,使用`cd ..`命令后,当前目录将变为`/home/user`。这样就实现了回退操作。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Shell命令学习](https://blog.csdn.net/xuxuxux123/article/details/126681022)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [Linux shell常用命令总结2022](https://blog.csdn.net/qq_24095055/article/details/127332734)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文