← Learn
Safe
sed -n '1,50p' /var/log/app/error.log

linux · bash · Advanced

-n suppresses the default output and the p command prints one range, so this is a read-only way to look at the first fifty lines of a log.…

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

Think you can spot these under time pressure?

Start Training

More Linux