- Learn Linux Quickly
- Ahmed AlKabary
- 63字
- 2021-06-11 18:43:49
Moving one directory
You can also use the mv command to move directories. For example, if you want to move the directory d3 and put it inside d2, then you can run the mv d3 d2 command:
elliot@ubuntu-linux:~$ mv d3 d2
elliot@ubuntu-linux:~$ cd d2
elliot@ubuntu-linux:~/d2$ ls
d3
elliot@ubuntu-linux:~/d2$
Notice that you don't need to use the recursive -r option to move a directory.
推薦閱讀
- Rust Cookbook
- Python Network Programming Cookbook(Second Edition)
- Mastering Kali Linux for Web Penetration Testing
- SQL基礎教程(視頻教學版)
- 從0到1:Python數據分析
- C語言程序設計同步訓練與上機指導(第三版)
- Spring Boot企業級項目開發實戰
- FPGA Verilog開發實戰指南:基于Intel Cyclone IV(進階篇)
- 編程菜鳥學Python數據分析
- Microsoft Azure Storage Essentials
- Node Cookbook(Second Edition)
- Python函數式編程(第2版)
- 愛上C語言:C KISS
- C++17 By Example
- Learning Java by Building Android Games