Windows equivalent of the 'tail' command

前端 未结 21 3021
长情又很酷
长情又很酷 2020-11-28 01:48

Is there a way to simulate the *nix tail command on the Windows command line? I have a file and I want a way to snip off the first n lines of text. For example:

21条回答
  •  长情又很酷
    2020-11-28 02:47

    There is a resource kit that can be downloaded from here: http://www.microsoft.com/downloads/en/confirmation.aspx?familyId=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displayLang=en

    It contains a tail.exe tool but it is only compatible with some Windows versions

    (Copied from this post: Tail command for windows)

提交回复
热议问题