How to follow (tail -f) the latest file in a directory

后端 未结 0 1030
花落未央
花落未央 2021-01-13 23:13

I have a directory full of log files and I would like a bash oneline command to follow the latest log file that matches a pattern (e.g. "logfile*"). Basically I ha

相关标签:
回答
  • 消灭零回复
提交回复
热议问题