Linux & Terminali

tail -f (follow logs)

Në shqip: tail -f (ndiq log-et)

ShpjegimiSQ

„tail -f“ nuk mbaron: shfaq rreshtat e rinj sapo shtohen në skedar. Kështu sheh live çfarë po ndodh në server ndërsa provon aplikacionin. Ctrl+C për të ndaluar.

EnglishEN

“tail -f” keeps running: it prints new lines as soon as they're added to the file. That way you watch a server live while you test the app. Ctrl+C to stop.

Si ta mendosh

Si të shohësh një transmetim live në vend të një regjistrimi.

Lexoje në anglisht

Like watching a live stream instead of a recording.

Shembull kodibash

tail -f /var/log/nginx/error.log
tail -f app.log | grep ERROR

Terma të lidhur