十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
//连续创建5个文件,文件名为file1、file2、..file5
[root@server ~]# touch file{1..5}
[root@server ~]# ls
anaconda-ks.cfg Downloads file3 hello install.log Pictures test
Desktop file1 file4 hello.c install.log.syslog Public Videos
Documents file2 file5 hello.o Music Templates
[root@server ~]# rm -rf file*
[root@server ~]# mkdir folder{1..5}
[root@server ~]# ls
anaconda-ks.cfg file1 file5 folder4 hello.o Pictures Videos
Desktop file2 folder1 folder5 install.log Public
Documents file3 folder2 hello install.log.syslog Templates
Downloads file4 folder3 hello.c Music test
[root@server ~]# rm -rf folder*
[root@server ~]# ls
anaconda-ks.cfg Downloads file3 hello install.log Pictures test
Desktop file1 file4 hello.c install.log.syslog Public Videos
Documents file2 file5 hello.o Music Templates