How to monitor log files in real-time
$ tail -f [file]
- Command
- tail
- Description
- Output appended data as the file grows. Common for watching logs. Usage: tail -f file.log
- Deep Dive
- -f: Follow. Press `Ctrl + C` to exit. Use `tail -100f` to start with the last 100 lines.