上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 16 下一页

2016年3月23日

[转]linux tee 命令详解

摘要: 转自: http://codingstandards.iteye.com/blog/833695 在执行Linux命令时,我们可以把输出重定向到文件中,比如 ls >a.txt,这时我们就不能看到输出了,如果我们既想把输出保存到文件中,又想在屏幕上看到输出内容,就可以使用tee命令了。tee命令读取 阅读全文

posted @ 2016-03-23 16:10 Andy-tester 阅读(374) 评论(0) 推荐(0) 编辑

[转]Linux命令wc的详细用法

摘要: 转自:http://blog.hehehehehe.cn/a/17301.htm wc命令用来打印文件的文本行数、单词数、字节数等(print the number of newlines, words, and bytes in files)。在Windows的Word中有个“字数统计”的工具,可 阅读全文

posted @ 2016-03-23 16:00 Andy-tester 阅读(635) 评论(0) 推荐(0) 编辑

[转]linux uniq 命令详解

摘要: 转自:http://blog.csdn.net/tianmohust/article/details/6997683 阅读全文

posted @ 2016-03-23 15:58 Andy-tester 阅读(275) 评论(0) 推荐(0) 编辑

[转]linux sort 命令详解

摘要: 转自:http://www.cnblogs.com/51linux/archive/2012/05/23/2515299.html sort是在Linux里非常常用的一个命令,管排序的,集中精力,五分钟搞定sort,现在开始! 1 sort的工作原理 sort将文件的每一行作为一个单位,相互比较,比 阅读全文

posted @ 2016-03-23 15:54 Andy-tester 阅读(176) 评论(0) 推荐(0) 编辑

[转]linux grep命令

摘要: 转自:http://www.cnblogs.com/end/archive/2012/02/21/2360965.html 1.作用Linux系统中grep命令是一种强大的文本搜索工具,它能使用正则表达式搜索文本,并把匹 配的行打印出来。grep全称是Global Regular Expressio 阅读全文

posted @ 2016-03-23 15:17 Andy-tester 阅读(269) 评论(0) 推荐(0) 编辑

[转]linux之cut命令的用法

摘要: 转自:http://www.jb51.net/article/41872.htm (1)其语法格式为:cut [-bn] [file] 或 cut [-c] [file] 或 cut [-df] [file] 使用说明cut 命令从文件的每一行剪切字节、字符和字段并将这些字节、字符和字段写至标准输出 阅读全文

posted @ 2016-03-23 15:14 Andy-tester 阅读(236) 评论(0) 推荐(0) 编辑

【转】Linux 之 数据流重定向

摘要: 转自:http://www.linuxidc.com/Linux/2012-09/69764.htm linux在你登入时,便将默认的标准输入、标准输出、标准错误输出安排成你的终端。I/O重定向就是你通过与终端交互,或者在shell script里设置,重新安排从哪里输入或者输出到哪里。每个程序都应 阅读全文

posted @ 2016-03-23 14:35 Andy-tester 阅读(218) 评论(0) 推荐(0) 编辑

【转】Linux下history命令用法

摘要: 转自:http://blog.sina.com.cn/s/blog_5caa94a00100gyls.html 如果你经常使用 Linux 命令行,那么使用 history(历史)命令可以有效地提升你的效率。本文将通过实例的方式向你介绍 history 命令的 15 个用法。 当你从命令行执行 hi 阅读全文

posted @ 2016-03-23 11:10 Andy-tester 阅读(221) 评论(0) 推荐(0) 编辑

【转】变量的测试与内容替换

摘要: 转自:http://vbird.dic.ksu.edu.tw/linux_basic/0320bash_2.php 在某些时刻我们常常需要『判断』某个变量是否存在,若变量存在则使用既有的配置,若变量不存在则给予一个常用的配置。 我们举底下的例子来说明好了,看看能不能较容易被你所理解呢! 在上面的范例 阅读全文

posted @ 2016-03-23 10:20 Andy-tester 阅读(355) 评论(0) 推荐(0) 编辑

【转】Linux下变量内容删除与替换

摘要: 转自:http://www.linuxidc.com/Linux/2015-01/111781.htm 当一个变量被赋予值后,有时会对变量的值进行一些微小的调整,比如删除变量值中特定一部份,或替换掉一个特点的字符等,如下以举例来说明。 1、变量内容的删除 [root@bogon ~]# echo $ 阅读全文

posted @ 2016-03-23 09:59 Andy-tester 阅读(464) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 16 下一页

导航