Linux command
sig 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Filter streaming Kubernetes logs interactively
stern --context kind etcd |& sig
Re-execute and filter a command
sig --cmd "[stern --context kind etcd]"
Interactively search a static file
cat [README.md] |& sig
说明
sig is an interactive grep tool that filters streaming data in real-time. It works well with piped output such as Kubernetes logs or WebSocket data. It includes an archived mode that buffers recent entries for backward searching, and supports both streaming and static file input.
FAQ
What is the sig command used for?
sig is an interactive grep tool that filters streaming data in real-time. It works well with piped output such as Kubernetes logs or WebSocket data. It includes an archived mode that buffers recent entries for backward searching, and supports both streaming and static file input.
How do I run a basic sig example?
Run `stern --context kind etcd |& sig` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more sig examples?
This page includes 3 examples for sig, plus related commands for nearby Linux tasks.