Highlighting matches with grep and less

Yes, I haven’t posted much lately. Just a quick little tip, since it came in handy today.

Grep accepts a --color argument which highlights matches in color (assuming your terminal supports it). Passing grep --color=always and piping the output into less -R will allow you to scroll through …

more ...


Handling mailto links on another computer

At work, I use synergy to control two computers with the same mouse and keyboard. My main desktop (skynet) has two monitors - generally one for Firefox and one for my terminals - and my secondary machine (mithrandir), a third monitor on my desk, handles email and IM. The only real problem …

more ...