Linux tail and follow log files in real time
Bash Dasun Kalupahana 84 views
tail -f storage/logs/laravel.log # follow a file
tail -n 100 -f /var/log/nginx/error.log # last 100 lines, then follow
journalctl -u nginx -f # follow a systemd service
journalctl -u nginx --since "1 hour ago"
Watches a log as new lines arrive. Use it to debug a running app or service.
Learn more on the blog
PHP
How to Detect and Fix PHP Memory Leaks
Last updated: 5 November 2026. See the update log at the end.In...
9 min read
MySQL
Upgrade MySQL 8.0 to 8.4: What Breaks and How to Check
MySQL 8.0 reached end of life in April 2026, which means no...
7 min read
Linux
AWK gsub() Examples: Find and Replace Text in Linux
gsub() is AWK's find-and-replace. It replaces every match of a pattern in...
5 min read