• HOME
  • SEARCH
  • TOPICS
  • DATA

  • Linux vi/vim 操作

    跳转到最后一行 大写的G shift+g 跳转到第一行 两次g gg 跳转到当前行的第一个字符 数字0 0 跳转到当前行的最后一个字符 $ shift+4 vi

    2019-05-20, Views: 2823 , Topics: Vim Linux

  • Linux grep/zgrep 提示 Binary file matches

    解决方法 -a、--text equivalent to --binary-files=text 把二进制文件等同文本文件处理 grep -a "conte

    2019-05-20, Views: 5248 , Topics: grep zgrep

  • Linux zgrep,zcat,zless,zmore 等 zutil 包命令

    zgrep 与grep命令相同,但是是查看压缩包中的内容 zgrep "content" log.zip zcat zcat "content" log.zip

    2019-05-20, Views: 5896 , Topics: zgrep zcat Linux

  • Windows 安装 tcpdump

    官网 http://www.tcpdump.org/ 前置条件 安装 WinPcap https://www.winpcap.org/ 下载 WinDump h

    2019-05-17, Views: 12850 , Topics: tcpdump Windows

  • HTML 中 script 标签中的 async 和 defer 的区别

    一图胜千言 图片出处 https://www.growingwiththeweb.com/2014/02/async-vs-defer-attributes.

    2019-05-15, Views: 2484 , Topics: JavaScript

  • 网页添加 GitHub star, fork, fllow, watch 按钮

    开源解决方案 - GitHub buttons GitHub地址:https://github.com/mdo/github-buttons 演示网站:ht

    2019-05-14, Views: 4656 , Topics: GitHub

  • 面试题:Java 中的 == 与 equals 区别

    == 当==判断基本数据类型时,是判断两个数值是否相等。 当==判断应用数据类型时,是判断两个对象地址值是否相等。 equals equals方法不能作用于

    2019-05-10, Views: 3341 , Topics: 面试 Java

  • Linux 统计文本行数

    统计文本行数 wc -l a.txt 输出: 6 a.txt

    2019-05-10, Views: 3228 , Topics: Linux wc

  • Linux sed 命令查看文件指定行数内容

    查看指定一行内容 查看a.txt中的第5行 sed -n 5p a.txt 查看指定行与指定行之间的内容 查看a.txt中第5行到第10行之间的内容 sed -

    2019-05-09, Views: 5212 , Topics: Linux sed

  • Linux grep 转义特殊符号

    场景 有a.txt文本,内容如下: \\ \ ' $ | " 查找 \ grep '\' a.txt 报错:grep: Trailing backslash 需

    2019-05-08, Views: 14960 , Topics: Linux grep

  • Linux 分析 PHP 进程内存占用

    命令 pmap $(pgrep php) | less pmap $(pgrep php | head -1)

    2019-04-29, Views: 3776 , Topics: Linux PHP

  • Linux 下编译安装 PHP 时报 libxml2 configure: error

    原因 缺少libxml2-dev库 Ubuntu 安装 apt-get install libxml2-dev CentOS 安装 yum install li

    2019-04-29, Views: 3138 , Topics: Linux PHP

  • 编译时提示 virtual memory exhausted: Cannot allocate memory

    查看 Swap 交换区 free -m 输出: total used free shared b

    2019-04-29, Views: 4305 , Topics: Linux

  • Linux 增加 Swap 交换分区解决内存不足

    Swap 交换分区简介 当系统的物理内存不够用的时候,就需要将物理内存中的一部分空间释放出来,以供当前运行的程序使用,那些被释放的空间可能来自一些很长时间没有什

    2019-04-29, Views: 3810 , Topics: Linux

  • Linux 配置 top 命令显示 swap

    进入 top 命令 top 进入配置界面 按f Fields Management for window 1:Def, whose current sort f

    2019-04-29, Views: 7208 , Topics: Linux

  • Linux 查看内存信息

    指令 cat /proc/meminfo 输出: MemTotal: 1016200 kB MemFree: 156916 kB

    2019-04-29, Views: 3572 , Topics: Linux

  • Elasticsearch health status 显示为 yellow 解决方法

    查看 health curl -XGET "http://localhost:9200/_cluster/health?pretty=true" 返回: {

    2019-04-26, Views: 12240 , Topics: Elasticsearch

  • PHP 使用 Zend OPcache 字节码缓存

    CentOS 安装 sudo yum install php-opcache 常用配置 ;开启OPcache。 opcache.enable=1 ;CLI环境

    2019-04-26, Views: 3654 , Topics: PHP

  • Elasticsearch 短语搜索 query->match_phrase

    短语搜索 精确匹配一系列单词或者短语。 使用match_phrase curl -X GET "localhost:9200/megacorp/employ

    2019-04-25, Views: 3916 , Topics: Elasticsearch 全文检索

  • Elasticsearch 全文搜索 query->match

    全文搜索 query->match curl -X GET "localhost:9200/megacorp/employee/_search?prett

    2019-04-25, Views: 2631 , Topics: Elasticsearch 全文检索

  • First Prev
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • Next Last

©2025 沪ICP备18012661号-1 阿里云

Messages Sitemap GitHub