- 论坛徽章:
- 0
|
--follow (-f), tail defaults to following the file descriptor, which means that even if a tail\'ed file is renamed, tail will\r\n continue to track its end. This default behavior is not desirable when you really want to track the actual name of the file, not\r\n the file descriptor (e.g., log rotation). Use --follow=name in that case. That causes tail to track the named file by reopening\r\n it periodically to see if it has been removed and recreated by some other program.\r\n\r\n\r\n\r\n类似于linux上的这个参数 |
|