命令行展开案例

[Azuth@azuth ~]$ mkdir /home/Azuth/tmp/{a,b}_{c,d}
[Azuth@azuth ~]$ ll /home/Azuth/tmp/
total 0
drwxrwxr-x. 2 Azuth Azuth 6 May 20 20:35 a_c
drwxrwxr-x. 2 Azuth Azuth 6 May 20 20:35 a_d
drwxrwxr-x. 2 Azuth Azuth 6 May 20 20:35 b_c
drwxrwxr-x. 2 Azuth Azuth 6 May 20 20:35 b_d

[Azuth@azuth ~]$ mkdir -p /home/Azuth/tmp/mylinux/{bin,boot/grub,dev,etc/{rc.d/init.d,sysconfig/network-scripts},lib/modules,lib54,proc,sbin,sys,tmp,usr/local/{bin,sbin},var/{lock,log,run}}

本文来自投稿,不代表Linux运维部落立场,如若转载,请注明出处:http://www.178linux.com/99037

发表评论

登录后才能评论

This site uses Akismet to reduce spam. Learn how your comment data is processed.

联系我们

400-080-6560

在线咨询:点击这里给我发消息

邮件:1823388528@qq.com

工作时间:周一至周五,9:30-18:30,节假日同时也值班