Complete the command to continuously watch the end of a log file named app.log.
tail [1] app.logThe -f option tells tail to follow the file as it grows, showing new lines live.
Complete the command to follow server.log and show the last 20 lines initially.
tail [1] 20 -f server.log
The -n option specifies the number of lines to show from the end before following.
Fix the error in the command to follow error.log live: tail -n -f 10 error.log. Place the correct option to make it work.
tail [1] 10 error.log
-n before -f without a number causes errors.-f shows last 10 lines by default, but here 10 lines are requested.The correct order is -f -n 10 so tail follows the file and shows last 10 lines initially.
Fill both blanks to create a command that follows access.log and shows the last 50 lines initially.
tail [1] [2] -f access.log
-v which does not control lines or following.The -n option with 50 before -f shows the last 50 lines initially and then follows the file live.
Fill all three blanks to create a command that follows debug.log, shows last 30 lines, and uses verbose output.
tail [1] [2] [3] -f debug.log
-n option.The -v option enables verbose output, -n 30 shows last 30 lines, and -f follows the file. Here verbose is placed first.