linux命令学习
Lihn
这个作者很懒,什么都没留下…
展开
-
linux awk命
1. awk简介awk 是一种编程语言,用于在linux/unix下对文本和数据进行处理。数据可以来自标准输入、一个或多个文件,或其它命令的输出。它支持用户自定义函数和动态正则表达式等先进功能,是linux/unix下的一个强大编程工具。它在命令行中使用,但更多是作为脚本来使用。awk的处理文本和数据的方式是这样的,它逐行扫描文件,从第一行到最后一行,寻找匹配的特定模式的行,并在这些行上进...原创 2011-09-12 20:00:02 · 109 阅读 · 0 评论 -
shell脚本操作备忘录
1. shell判断文件-a file exists. -b file exists and is a block special file. -c file exists and is a character special file. -d file exists and is a directory. -e file exists (just the same as -a...2011-09-14 13:12:06 · 317 阅读 · 0 评论