You are troubleshooting a server issue and want to continuously monitor the appended output of a log file as new content is written to it. Which command would you use?

  • tail -f
  • cat
  • less
  • grep
To continuously monitor the appended output of a log file, you would use the tail -f command. The -f option allows you to "follow" the file and see new content as it is added to the end. This is useful for real-time log monitoring.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *