ubuntu@ubuntu:~$ mkdir d1 d2/d3 d4 -p
ubuntu@ubuntu:~$ touch d1/f2 f1
ubuntu@ubuntu:~$ cd d1
ubuntu@ubuntu:~/d1$ mv f2 file
ubuntu@ubuntu:~/d1$ cd
ubuntu@ubuntu:~$ cp ./d1/file ./d2/d3
ubuntu@ubuntu:~$ ls
1.c a.out d1 d2 d4 Desktop Documents Downloads f1 Music Pictures Public snap Templates Videos
ubuntu@ubuntu:~$ ls d1
file
ubuntu@ubuntu:~$ ls d2
d3
ubuntu@ubuntu:~$ ls d2/d3
file
ubuntu@ubuntu:~$ rm d1 d2 d4 f1 -r
ubuntu@ubuntu:~$ ls
1.c a.out Desktop Documents Downloads Music Pictures Public snap Templates Videos
ubuntu@ubuntu:~$
第一章:终端指令
于 2024-02-27 09:07:33 首次发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)