`
yaojingguo
  • 浏览: 202749 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Usage of grep

 
阅读更多

Find error or exception in a log file:

 

grep -i -E '((error)|(exception))' log

分享到:
评论

相关推荐

    Linux Shell Scripting Cookbook.pdf

    Proper usage of shell commands can easily solve many complex tasks with a few lines of code, but most linux users don't have the right know-how to use the Linux shell to its full potential. ...

    Linux Shell Scripting Cookbook.epub

    Proper usage of shell commands can easily solve many complex tasks with a few lines of code, but most linux users don't have the right know-how to use the Linux shell to its full potential. ...

    Linux Shell Scripting Cookbook.mobi

    Proper usage of shell commands can easily solve many complex tasks with a few lines of code, but most linux users don't have the right know-how to use the Linux shell to its full potential. ...

    pgrep [Win]

    Usage: pgrep [OPTION]... PATTERN [FILE] ... <If you run from source code> python pgrep [OPTION]... PATTERN [FILE] ... Search for PATTERN in each FILE or standard input and output a paragraph ...

    bingrep:grep的一个小实用程序,用于在内存中转储指针和二进制数据,转储实时进程内存

    用法Exactly one of -f or -p has to be specified.Usage: 1) bingrep -f <filename> [pattern] 2) bingrep -p <pid> [-i ] [pattern]Pattern can be one of: -s <from> -e <to> [-w ] -b <hex> -a <ascii>For type ...

    gosec:Gosec使用PGP管理机密

    Usage of ./gosec: -d=false: Decrypt -e=false: Encrypt -g= " " : Regex String -s= " " : Directory Root directory must be specified 安装 GO15VENDOREXPERIMENT=1 godep get github.com/rphillips/gosec

    ora分析脚本

    Usage: ora [-u user] [-i instance#] <command> [] General -u user/pass use USER/PASS to log in -i instance# append # to ORACLE_SID -sid <sid> set ORACLE_SID to sid -top # limit some large queries ...

    cfssl_v1.61_arm64_6in1.zip

    cfssl   master ±  ll |grep cfssl -rwxr-xr-x 1 starwu staff 16578536 1 14 14:52 cfssl* -rwxr-xr-x 1 starwu staff 12350640 1 14 15:05 cfssl-bundle* -rwxr-xr-x 1 starwu staff 12526560 1 14 15:06 ...

    taily:尾巴罗兹logz。 现在有了颜色!

    安装在本地npm install taily 或全球npm install taily -g 用法taily [options]Options:-h, --help output usage information-V, --version output the version number-g, --grep [regex] Grep the results of the ...

    bash-exporter:用于bash脚本的简单,简约的Prometheus导出器,用Go编写

    hostname="node-1",job="job-2",verb="put"} 0.13bash{env="",hostname="node-1",job="job-2",verb="time"} 0.5bash{env="dev",hostname="",job="job-1",verb="items"} 21用法Usage of ./bash-exporter: -debug ...

    Android代码-httpclient-android

    Usage Download the repository and simply hit ./build.sh script Dependencies Required dependencies are: JDK 6 or newer Gradle 2.4 or newer find, grep, svn, patch and sed (or gsed for OS X) for ...

    2009 达内Unix学习笔记

    集合了 所有的 Unix命令大全 ...telnet 192.168.0.23 自己帐号 sd08077-you0 ftp工具 192.168.0.202 tools-toolss ... 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ ... 命令和参数之间必需用空格隔...

    aGdaREP:在 Agda 中实现抓地力

    aGdaREP-在Agda中实施grep Usage: aGdaREP [OPTIONS] PATTERN [FILENAME] OPTIONS: -h Print this help -V Version -v Invert the match -i Ignore case 要求 该项目应使用以下命令进行编译: Agda 2.6.1.1版...

    vim插件打包

    "grep " "omnicppcomplete { set tags=tags; "智能补全ctags -R --c++-kinds=+p --fields=+iaS --extra=+q let OmniCpp_NamespaceSearch = 1 let OmniCpp_GlobalScopeSearch = 1 let OmniCpp_ShowAccess = 1 let...

    基于mediastreamer2的网络电话实现流程以及源码库

    于是:#grep "rpl_malloc" -nR * ....... 找到了,原来这两个变量是在这个config的文件中的。是一个宏开关 那么就好办了,我们就直接把这两个宏进行注释。 嗯嗯,继续。。。我们重新编译json库。。。嗯嗯编译好了,...

    (重要)AIX command 使用总结.txt

    End of File after: 252 Records, 526729216 Bytes. ---文件大小 tcopy: The end of the tape is reached. tcopy: The total tape length is 526729216 bytes. #如何取定文件与文件集的对应关系,有时想使用某个...

    Linux命令大全完整版

    statserial(status ofserial port) 166 talk 166 Tcpdump 167 testparm(test parameter) 168 traceroute 168 tty(teletypewriter) 169 uuname 169 wall(write all) 170 write 170 ytalk 170 arpwatch(ARP ...

    Advanced Bash-Scripting Guide <>

    Examples of sed operators D-1. "Reserved" Exit Codes L-1. Batch file keywords / variables / operators, and their shell equivalents L-2. DOS commands and their UNIX equivalents N-1. Revision History ...

    Linux高级bash编程

    Examples of sed operators D-1. "Reserved" Exit Codes L-1. Batch file keywords / variables / operators, and their shell equivalents L-2. DOS commands and their UNIX equivalents N-1. Revision History ...

    adb1.0.26包含fastboot.exe

    List of devices attached cf264b8f device emulator-5554 device 10.129.164.6:5555 device 输出里的 cf264b8f、emulator-5554 和 10.129.164.6:5555 即为 serialNumber。 比如这时想指定 cf264b8f 这个设备来运行...

Global site tag (gtag.js) - Google Analytics