← Useful Tips
tail -n 100 file.log: Show the last 100 lines of a log
Use tail -n 100 file.log to show the last 100 lines of a log. It is especially handy when you live in terminals and repeat long commands.
tail -n 100 file.log
Why it helps
Use tail -n 100 file.log to show the last 100 lines of a log. It is especially handy when you live in terminals and repeat long commands.
How to use it
- Open the relevant app or terminal.
- Use the shortcut or command above in the relevant context.
- Check the result; for commands that change data, test on a small example first.
People also search for
tail -n 100 file.log: Show the last 100 lines of a logtail -n 100 file.logshow the last 100 lines of a loghow to show the last 100 lines of a logLinux / WSL show the last 100 lines of a log