作业:
1.创建一个homework目录,在该目录下新建名为1.txt~10.txt的文件
2.删除1.txt~5.txt
代码:
mkdir homework
cd homework
touch {1..10}.txt
rm {1..5}.txt
1.创建一个homework目录,在该目录下新建名为1.txt~10.txt的文件
2.删除1.txt~5.txt
代码:
mkdir homework
cd homework
touch {1..10}.txt
rm {1..5}.txt