← Learn
Safe
$lines = Get-Content .\app.log -Tail 200; [array]::Reverse($lines); $lines | Select-Object -First 20

cross-platform · powershell · Advanced

Reads the last 200 log lines into memory, flips the array so newest comes first, and prints twenty of them. Reverse here operates on an…

The full explanation and danger signals for this pack are part of Pro.

Think you can spot these under time pressure?

Start Training

More File System