在根下创建一个叫做test的目录,在test的目录下创建二个普通文件file1 file2 file3
[root@localhost ~]# mkdir test
[root@localhost -]# cd test
[root@localhost test]# touch filel file2 file3
给file1创建一个软链接aa给file2创建两个硬链接
[root@localhost test]# ln -s filel aa
[root@localhost test]# ln file2 bb
[root@localhost test]# ln file2 cc
在test目录下创建一个ceshi的目录,在ceshi的目录下创建a1-a8,b1-b8,ac1-ac8的文件
[root@localhost test]# cd ceshi
[root@localhost ceshi]# touch af1..8] b{1..8] ac[1..8]
在test目录下创建一个kaoshi的目录,在该目录下创建1-100个文件
[root@localhost test]# mkdir kaoshi
[root@localhost test]# cd kaoshi
[root@localhost kaoshi]# touch {1..100}
在test目录下创建一个gimo的目录在该目录下创建AA-EE的级联目录
[root@localhost test]# mkdir qimo
[root@localhost test]# cd qimo[root@localhost qimo]# mkdir -p AA/BB/CC/DD/EE
打印出ceshi、gimo、kaoshi的路径