ubuntu@ubuntu:~/d1$ cd
ubuntu@ubuntu:~$ ls
1.c d1 d4 Documents f1 Pictures snap Videos
a.out d2 Desktop Downloads Music Public Templates
ubuntu@ubuntu:~$ cd d1
ubuntu@ubuntu:~/d1$ rm f1
ubuntu@ubuntu:~/d1$ touch f2
ubuntu@ubuntu:~/d1$ mv f2 file
ubuntu@ubuntu:~/d1$ cd
ubuntu@ubuntu:~$ mv d4 d2
ubuntu@ubuntu:~$ mv f1 d2
ubuntu@ubuntu:~$ cp ./d1/file ./d2/d3 -p
ubuntu@ubuntu:~$ ls d3
ls: cannot access 'd3': No such file or directory
ubuntu@ubuntu:~$ ls d2/d3
file
ubuntu@ubuntu:~$ ls
1.c d1 Desktop Downloads Pictures snap Videos
a.out d2 Documents Music Public Templates
ubuntu@ubuntu:~$ rm d1 d2 -r
ubuntu@ubuntu:~$ ls
1.c a.out Desktop Documents Downloads Music Pictures Public snap Templates Videos
ubuntu@ubuntu:~$
c第一节课
于 2024-02-27 09:01:00 首次发布