Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm new to irssi and I couldn't figure out one feature (or task).

I know I can use Page+Up/Down to scroll back and forth on the chat history. I also know I can use /lastlog to dump the whole chat history to console.

However, I don't know how to dump the chat history and grep certain pattern. For example, if I want to review conversation with someone named, user-a. My intuitive way is "grep user-a " so it will output all history in that window contain user-a.

Is there such a feature in irssi or irc in general?

share|improve this question
up vote 9 down vote accepted

There is no such thing in "IRC in general"; IRC is just a protocol for exchanging messages. It does not have logging of any kind.

In irssi, though, you can do /lastlog user-a to search for that word.

If you want regexp search, there's /last -regexp too.

share|improve this answer
Use /lastlog pattern 10 to search for the last 10 occurrences of pattern. – David Pärsson May 23 '14 at 17:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.