echo的使用:http://man.linuxde.net/echo awk的使用:http://man.linuxde.net/awk sed的使用:http://man.linuxde.net/sed tee的使用:http://man.linuxde.net/tee curl的使用:http ...
分类:
Web程序 时间:
2016-07-19 20:37:24
阅读次数:
379
在上一篇讨论里我们介绍了Source,它的类型款式是这样的:Process[F[_],O]。Source是通过await函数来产生数据流。await函数款式如下:
def await[F[_], A, O](req: F[A])(rcv: A => Process[F, O]): Process[F, O]
await函数的作用是:运算F从外界数据源获取数据A,如:从数据库读取记录...
分类:
其他好文 时间:
2016-07-19 13:50:42
阅读次数:
167
1.ulimit -c查看是否可以产生core文件 打印0表示当前不产生core文件 2.ulimit -c unlimited 设置产生core文件 这种方法只是临时设置产生core文件 3.echo '/tmp/core_%e.%p' | sudo tee /proc/sys/kernel/co ...
分类:
其他好文 时间:
2016-07-03 09:16:44
阅读次数:
166
linux:1)teedf-h>a.txt可以把内容存到a.txt里,但是不会在屏幕直接输出。df-h|teea.txt可以保存并直接输出。要用管道符|2)vgdisplay-v不加v只显示vgdisplay,加上v能显示vg,lv,pv的所有信息AIX1)压缩,解压缩:压缩:1:tarcvftns.tartns2:gziptns.tar解压缩:gzip-dcfile.t..
分类:
其他好文 时间:
2016-06-23 14:39:37
阅读次数:
254
1、取出/etc/inittab文件的第6行:head-6/etc/inittab|tail-12、取出/etc/passwd文件中倒数第9个用户的用户名和shell,显示到屏幕上并将其保存至/tmp/users文件中:tail-9/etc/passwd|head-1|cut-d:-f1,7|tee/tmp/users3、显示/etc目录下所有以pa开头的文件,并统计其个数ls-d/..
分类:
其他好文 时间:
2016-06-21 11:05:48
阅读次数:
192
Liunx文本处理基础命令是运维工程师不可绕过,必须熟悉掌握的关键命令,它们组合起来就像一扇门,是通往文本三剑客(grep,sed,awk)及shell脚本编程的必经之路。更新至:1、Sort2、tr3、cut4、uniq5、wc6、tee7、paste1、Sort:#sort命令主要用于排序,可针对文本文件内容,..
分类:
系统相关 时间:
2016-06-12 03:43:35
阅读次数:
359
学习vim命令:“:w !sudo tee %” Original URL: http://www.haw-haw.org/node/1501 原文来自于commandlinefu 原文是这样解释这个命令的: 在vim中保存正在编辑的文件而不需要必要的权限。 (Save a file you edi ...
分类:
系统相关 时间:
2016-06-02 17:58:15
阅读次数:
204
1.查找当前目录中所有大于500M的文件,把这些文件名写到一个文本文件中,并统计其个数。find ./ -size +500M -type f | tee file_list | wc -l2.在目录/tmp下找到100个以abc开头的文件,然后把这些文件的第一行保存到文件new中。for file ...
分类:
系统相关 时间:
2016-06-02 17:53:45
阅读次数:
293
Seamless pipe Pipe fittings pipe elbow pipe tee pipe reducer pipe cap pipe bend pipe cross seamless pipe ERW steel pipe Api5l pipe weld neck flange sl ...
分类:
其他好文 时间:
2016-06-02 13:07:24
阅读次数:
223
在编译Android的时候,经常看到这样的命令 make -j8 2>&1 | tee build.log make -j8 2>&1 | tee build.log make -j8 2>&1 | tee build.log make -j8 2>&1 | tee build.log 其中 mak ...
分类:
移动开发 时间:
2016-06-01 15:27:03
阅读次数:
400