← Useful Tips
Linux / WSLLinux

history | grep orb: Find matching commands in shell history

Use history | grep orb to find matching commands in shell history. It is especially handy when you live in terminals and repeat long commands.

history | grep orb

Why it helps

Use history | grep orb to find matching commands in shell history. It is especially handy when you live in terminals and repeat long commands.

How to use it

  1. Open the relevant app or terminal.
  2. Use the shortcut or command above in the relevant context.
  3. Check the result; for commands that change data, test on a small example first.
People also search for
history | grep orb: Find matching commands in shell historyhistory | grep orbfind matching commands in shell historyhow to find matching commands in shell historyLinux / WSL find matching commands in shell history

Related tips