A Windows equivalent of the Unix tail command [clo

2019-01-01 06:23发布

I'm looking for the equivalent of the Unix 'tail' command that will allow me to watch the output of a log file while it is being written to.

标签: windows tail
26条回答
初与友歌
2楼-- · 2019-01-01 06:40

DOS's type works like *nux's cat, though just like cat, it does dump the whole file, so it's not really a true tail, but it's going to be available in a pinch without downloading/installing a true tail substitute.

查看更多
人气声优
3楼-- · 2019-01-01 06:41

Install MKS Toolkit... So that you can run all Unix commands on Windows.

The command is:

tail -f <file-name>  
查看更多
回忆,回不去的记忆
4楼-- · 2019-01-01 06:42

I've used Tail For Windows. Certainly not as elegant as using

tail
but then, you're using Windows. ;)

查看更多
唯独是你
5楼-- · 2019-01-01 06:42

I've used Mtail recently and it seems to work well. This is the GUI type like baretail mentioned above. enter image description here

查看更多
不再属于我。
6楼-- · 2019-01-01 06:42

DOS has no tail command; you can download a Windows binary for GNU tail and other GNU tools here.

查看更多
若你有天会懂
7楼-- · 2019-01-01 06:44

Download the tail command, part of Windows Server 2003 Resource Kit Tools from Microsoft itself.

查看更多
登录 后发表回答