Linux 批量删除
2017-11-11 23:24
197 查看
批量删除当前目录下的1,2,3,4,5,6文件
lan@lan-virtual-machine:~/桌面/GNU C$ ls
1 3 5 6 a.out exam5-1-1 exam5-1.c exam5-1.s
2 4 5.o 6.out exam5-1 exam5-1-2 exam5-1.o输入指令:
rm [1,2,3,4,5,6]
结果:
lan@lan-virtual-machine:~/桌面/GNU C$ ls
5.o a.out exam5-1-1 exam5-1.c exam5-1.s
6.out exam5-1 exam5-1-2 exam5-1.o
可以看到已经删除掉了。
lan@lan-virtual-machine:~/桌面/GNU C$ ls
1 3 5 6 a.out exam5-1-1 exam5-1.c exam5-1.s
2 4 5.o 6.out exam5-1 exam5-1-2 exam5-1.o输入指令:
rm [1,2,3,4,5,6]
结果:
lan@lan-virtual-machine:~/桌面/GNU C$ ls
5.o a.out exam5-1-1 exam5-1.c exam5-1.s
6.out exam5-1 exam5-1-2 exam5-1.o
可以看到已经删除掉了。
相关文章推荐
- 批量删除多台linux服务器文件
- Linux批量删除包含某个关键字的进程
- Linux批量删除包含某个关键字的进程
- linux下批量删除指定后缀的文件
- linux下vi中批量删除空行的方法:
- linux 批量删除进程与查看进程详解
- linux下批量删除.svn目录
- linux下批量删除空文件(大小等于0的文件)的方法
- linux 批量删除相同名字的文件
- Linux批量删除包含某个关键字的进程
- Linux下批量删除某个前缀的用户
- Linux下批量删除空文件
- 项目总结-Linux下批量删除无用文件
- Linux上批量删除.svn目录
- linux 批量删除进程
- linux下批量删除文件
- Linux培训之批量删除文件命令
- <linux小脚本>批量添加/删除用户
- Linux 批量删除群发邮件
- linux下批量删除空文件