##一次性建立建立所有目录
mkdir study CLASS1 CLASS2 confdir SINGLE /DOUBLE /tmp/VERSION
##进入stduy中,建立文件
cd study;touch WESTOS_class{1,2}_linux{1..6}
cd /tmp/VERSION;touch redhat_version{1..8}
cp redhat_version[1,3,5,7] /root/Desktop/SINDLE
cp redhat_version[2,4,6,8] /tmp/DOUBLE
cd -;mv *class1* /root/Desktop/CLASS1
mv *class2* /root/Desktop/CLASS2
cp /etc/*[:alpha:]*[:digit:].conf /root/Desktop/confdir
##一次性删除所有作业
rm -fr /root/Desktop/* /tmp/VERSION /DOUBLE
【Linux】文件管理作业
最新推荐文章于 2024-05-29 17:33:36 发布