Powershell
Jump to navigation
Jump to search
tail
Get-Content alert_orcl.log -Tail 200
grep
Select-String -Path "*.sql" -Pattern "xxx"
uniq
Select-Object -Unique -ExpandProperty Line
sort
Sort-Object
Get-Content alert_orcl.log -Tail 200
Select-String -Path "*.sql" -Pattern "xxx"
Select-Object -Unique -ExpandProperty Line
Sort-Object