![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
shell脚本学习
文章平均质量分 80
wujiangguizhen
这个作者很懒,什么都没留下…
展开
-
Linux中shell文件操作大全
Linux中shell文件操作大全 2012-11-21 10:19:19 分类: 原文地址:Linux中shell文件操作大全 作者:fuliangcheng 1.创建文件夹 #!/bin/sh mkdir -m 777 "%%1" 2.创建文件 #!/bin/sh touch "%%1" 3.删除文件 #!/bin/sh rm -if "%%1"转载 2013-10-08 23:22:46 · 8382 阅读 · 1 评论 -
Linux下grep命令
grep -- Global Regular Expression Print (全局搜索正则表达式并把行打印出来) 1. grep简介 grep是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹配的行打印出来。 工作方式: 在一个或多个文件中搜索字符串模板。如果模板包括空格,则必须被引用,模板后的所有字符串被看作文件名。搜索的结果被送到屏幕,不影响原文转载 2014-05-25 23:26:57 · 656 阅读 · 0 评论