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:
in PS try to use command:
Select -Last 1
This command can be pipelined also.
Example to get first line:
type .\out.txt | Select -Last 1
or to get the first line:
type .\out.txt | Select -First 1