Tagged articles
2 articles
Page 1 of 1
macrozheng
macrozheng
Jul 7, 2021 · Operations

Query Linux Logs with SQL Using the ‘q’ Command-Line Tool

The article introduces the command‑line utility q, explains how to install it on Linux and Windows, and demonstrates using familiar SQLite‑style SQL queries to search, filter, join, and aggregate log files and command output, offering a convenient alternative to traditional shell tools.

LinuxSQLcommand-line
0 likes · 10 min read
Query Linux Logs with SQL Using the ‘q’ Command-Line Tool
Liangxu Linux
Liangxu Linux
Jun 23, 2021 · Operations

Query Linux Logs with SQL Using the ‘q’ Tool – A Practical Guide

This article introduces the command‑line utility q, explains how to install it on Linux and Windows, and demonstrates using full SQLite‑compatible SQL syntax to query, filter, join, and aggregate plain‑text log files, offering a database‑style alternative to traditional shell tools.

LinuxSQLcommand-line
0 likes · 10 min read
Query Linux Logs with SQL Using the ‘q’ Tool – A Practical Guide