zoukankan      html  css  js  c++  java
  • 【PHP分享】Windows tail工具分享

      作者:zhanhailiang 日期:2014-09-28

    在Linux下能够使用tail -f工具实时查看输出的日志。近期切换到本地Windows开发环境,顿时有点不爽。百度了下,最终找到tail的Windows的实现版本号。

    1. 下载tail,解压后将tail.exe拷贝到Path路径下,以笔者为例,C:WindowsSystem32;

    2. 測试例如以下:

    Microsoft Windows [版本号 6.1.7601]
    版权全部 (c) 2009 Microsoft Corporation。保留全部权利。
    
    D:Userswade.zhan>tail --help
    tail 1.0.0.1 created by Jorgen Bosman
    Usage: tail [options] file
    Options:
      -[x]f : Follow the file and display new lines as they are written to the file
              Optionally display the x last lines first (default=10)
      -n x  : Displays the last x lines of the file
      -s x  : Sleeps x miliseconds between 2 read attempts for -f option
    D:Userswade.zhan>tail -f D:/temp/php-errors.log
  • 相关阅读:
    etcd+confd管理nginx
    k8s基础
    nginx配置总结
    Golang相关
    docker基础
    celery结合django使用配置
    常用算法
    python3和paramiko安装
    git使用总结
    Linux系统入门实操经验分享
  • 原文地址:https://www.cnblogs.com/blfshiye/p/4008594.html
Copyright © 2011-2022 走看看