Run diff /var/log/nginx-access.log /var/log/nginx-access.log.1.
diff /var/log/nginx-access.log /var/log/nginx-access.log.1
Compare active and rotated access logs before summarizing traffic.
Text and logsdifftailnl
Click any instruction for the command details, the why, and the common mistake to avoid.
Run diff /var/log/nginx-access.log /var/log/nginx-access.log.1.
diff /var/log/nginx-access.log /var/log/nginx-access.log.1
Run tail -n 2 /var/log/nginx-access.log.1.
tail -n 2 /var/log/nginx-access.log.1
Run nl /var/log/nginx-access.log.
nl /var/log/nginx-access.log
Create a free account to sync completed lessons, XP, streaks, course status, and your next lesson across sessions.
Checking account status...
Progress sync is idle.
Progress sync stores completion IDs, scores, streaks, badges, and game settings. Terminal contents, editor snippets, lab scratch, email, and real names are never published on leaderboards or share cards.
Build repeatable confidence with comparing current and rotated log evidence.
Start with diff /var/log/nginx-access.log /var/log/nginx-access.log.1, inspect the result, then continue in order.
Comparing current and rotated log evidence helps operators explain what they know before they change anything.
diff <left> <right>
Compare two lab text files.
nl [file]
Number lines from a file or supported text pipeline.