rm -rf 命令 与正则表达式
[aiot_bigbear@ workspace]rm -rf [Gg]*
[aiot_bigbear@ workspace]ls -l
总用量 291684
drwx------ 2 aiot_bigbear aiot_bigbear4096 6月 7 13:16 debug-server
drwxr-xr-x 7 aiot_bigbear aiot_bigbear 4096 7月 5 09:24 hellofuck
drwxrwxr-x 3 aiot_bigbear aiot_bigbear 4096 7月 5 10:11 helloword-0.0.1
drwxrwxr-x 3 aiot_bigbear aiot_bigbear 4096 6月 28 13:07 LeapFTP
drwx------ 14 aiot_bigbear aiot_bigbear 4096 6月 7 13:16 smCA_indiaOld
-rw-rw-r-- 1 aiot_bigbear aiot_bigbear 298571318 6月 21 19:25 tool_soft.zip
drwxrwxr-x 4 aiot_bigbear aiot_bigbear 4096 8月 25 12:51 USB 系统安装
-rw-rw-r-- 1 aiot_bigbear aiot_bigbear 257 6月 21 19:34 编译程序方法.txt
-rw------- 1 aiot_bigbear aiot_bigbear 77824 7月 26 17:06 自测试报告_GX3001R项目2013-7-26.xls
[aiot_bigbear@ workspace]rm -rf [hLstU]*
[aiot_bigbear@ workspace]ls -l
总用量 84
drwx------ 2 aiot_bigbear aiot_bigbear 4096 6月 7 13:16 debug-server
-rw-rw-r-- 1 aiot_bigbear aiot_bigbear 257 6月 21 19:34 编译程序方法.txt
-rw------- 1 aiot_bigbear aiot_bigbear77824 7月 26 17:06 自测试报告_GX3001R项目2013-7-26.xls
[aiot_bigbear@ workspace]rm -rf 编译程序方法.txt
文章来源: blog.csdn.net,作者:悟空胆好小,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/xushx_bigbear/article/details/11576107
- 点赞
- 收藏
- 关注作者
评论(0)