Practice this fail.
The error is at the end.
Linux · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
Using GNU tail, inspect only the last 20 lines of an existing app.log and return to the prompt.
The error is at the end.
$ cat app.log
Ten thousand lines later...
How do you print the last 20 lines once?
Fixed. By hand.
tail -n 20 app.logtail -n selects the final number of lines. Without -f, it reads the current file contents and exits.
Practice does not affect your daily score or streak.