官术网_书友最值得收藏!

  • 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.

主站蜘蛛池模板: 英吉沙县| 耒阳市| 光山县| 长沙市| 南昌市| 武夷山市| 宜章县| 开封市| 洱源县| 延津县| 房山区| 灵山县| 连云港市| 延长县| 雷山县| 华安县| 宣汉县| 南涧| 图们市| 常宁市| 长沙县| 永顺县| 贺兰县| 浑源县| 呈贡县| 交城县| 丰镇市| 洞头县| 青冈县| 灯塔市| 民县| 犍为县| 巧家县| 长顺县| 长葛市| 乐陵市| 吉安县| 万源市| 新蔡县| 山阳县| 正宁县|