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.
Loading...
Related Quiz
- What command can be used to view the partition table of a disk in Linux?
- In the context of VPNs in Linux, the _________ protocol is known for its speed and efficiency but may not be as secure as other options.
- In Debian-based systems, the ________ command is used to search for packages.
- Which directory is crucial for the system booting process?
- To restrict users from logging in via SSH, you would modify the ________ file.