タグ

ブックマーク / www.brianstorti.com (1)

  • Stop using tail -f (mostly)

    Stop using tail -f (mostly) 12 Mar 2015 I still see a lot of people using tail -f to monitor files that are changing, mostly log files. If you are one of them, let me show you a better alternative: less +F The less documentation explains well what this +F is all about: Scroll forward, and keep trying to read when the end of file is reached. Normally this command would be used when already at the e

    kjw_junichi
    kjw_junichi 2015/03/31
    あれ、「+」を打つのが面倒だから「less ファイル名」で起動してshiftキー押して「f」してるなぁ、Ctrl+Cでこのモード抜けられるのかぁ、
  • 1