Get-Content (alias: gc ) is your usual option for reading a text file. You can then filter further: gc log.txt | select -first 10 # head gc ...
確定! 回上一頁