首页 极刻 圈子 教程 开源
标签 extglob 相关标签 bash ccp files h linux

Bash extglob shell option

To list .h and .ccp files, use: ls *.@(h|cc)

alwayshelloworld 2012-07-16 13:08:42

Linux保留几个文件其余删除

extglob 可以用rm !(1|2|3) [report@localhost~/tmp]$ls 1 2 3 [report@localhost~/tmp]$shopt -u extglob

spartmap 2015-12-11 02:54:20

推荐极客

Blaze Blaze fundebug fundebug 84214254 84214254 86593278 86593278 81701295 81701295 ELEMENTS爱乐冬雨 ELEMENTS爱乐冬雨 89236831 89236831 83206837 83206837

优质内容社区

首页 文章 极刻 开源 标签 关于我们

© 安科网. All rights reserved.