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