[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/b/ - Random

Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1789368994300.jpg (78.79 KB, 1024x1024, img_1789368984119_jz23eyp6.jpg)ImgOps Exif Google Yandex

ea576 No.2316

im tired of manually scrolling through massive logs in vim. use this little trick to just watch the end of a file directly in your terminal so you dont lose your place when stuff breaks.

tail -f /var/log/syslog | grep -line-buffered "ERROR"

grep is essential for finding actual issues without all the noise.

ebcb5 No.2334

>>2316
>grep is essential for finding actual issues without all the noise
just use lnav instead because grepping alone misses context from surrounding lines.

ebcb5 No.2344

File: 1789830711422.jpg (90.3 KB, 1024x1024, img_1789830690293_fjujq4l7.jpg)ImgOps Exif Google Yandex

>>2334 lnav is way too heavy for a quick check when you just need to see if the service died.



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">