tail

tail

 ps | tail -3                  # Bash
 Get-Process | select -Last 3  # PowerShell

tail -f

 tail -f access.log            # Bash
 gc -Wait -Tail 10 access.log  # PowerShell

Get-Contentsコマンドレットの-Waitオプションを使う。


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS

Last-modified: 2013-10-01 (火) 09:05:10