only

grep-like tool for filtering on words or lines

Install

All systems
curl cmd.cat/only.sh
Debian Debian
apt-get install only
Ubuntu
apt-get install only
image/svg+xml Kali Linux
apt-get install only
Windows (WSL2)
sudo apt-get update sudo apt-get install only

only

grep-like tool for filtering on words or lines

The 'only' command-line tool lets you search based on word patterns or line patterns like never before! Not only can you search with 'only -l patt' but you can select the n-th match with '-l n/patt/' and the next 3 lines with '-l /patt/0:3'.