Control-R, my favorite Unix shell command
Search your bash or zsh history incrementally with Control-R, step back with repeated presses, go forward with Control-S, and tune HISTFILE and HISTSIZE.
The latest blog posts to take off on Hacker News. 4,417 posts.
Search your bash or zsh history incrementally with Control-R, step back with repeated presses, go forward with Control-S, and tune HISTFILE and HISTSIZE.
Today I switched over completely from GNU Screen to the more modern BSD-licensed alternative, tmux . After making sure that tmux had replacements for all Screen’s key features, I took the plunge, and haven’t looked back. The project’s webpage has a complete list of features available under tmux, but as an everyday…
The OS X Terminal opens up a world of powerful UNIX utilities and scripts. If you’re migrating from Linux, you’ll find many familiar commands work the way you expect. But power users often aren’t aware that OS X comes with a number of its own text-based utilities not found on any other operating system. Learning about…
[2026/09/14]: This article became the most popular I've ever written. Since it was written a long time ago, I decided to rework it: polishing the wording to facilitate comprehension, fixing dead links and typos, and adding interactivity. Still, it remains faithful to the original — a lot of people discussed it and…
[Hello everyone! Thanks for taking a look at my blog! If you want updates on this project or other things I’m working on, just follow me on twitter ]
I build stuff. Virtual and physical. For both business and pleasure. Join me in my development, design and electronics journey.
An extended look at SSH features that can serve a variety of purposes for different use cases.
During the second World War, fighter pilots would scramble to take off. As they bumbled down the grass runway, engines open at full throttle, trying to take off on a short, bumpy track with a full load of fuel and ammunition, their heart would stop when the engine mis-fired. Was the fuel mix too rich, or too lean?…
The other weekend I took some time to play around with the DigitalOcean API, and this is what resulted. The DigitalOcean indicator allows you to monitor and manage your droplets directly from your panel. You can: Quickly see which droplets are active. Reboot, power on, and/or power down you …
This week, I'm grateful that my coworkers know to come grab me if something seriously weird is going on, because it...
Over the past few years, I have been slowly but surely building my own music player. It's been a wild ride. The codebase has radically changed several times, but is always converging on a better music listening experience.
Hadi Hariri Blog
I love Wikipedia, but too often the articles are just not that easy to read. It’s not that my English isn’t good enough. My English good. There is Simple English Wikipedia, but it doesn’t cover as many topics and it’s not as thorough.
The tips and tricks below originally appeared as one of Google's "T esting on the Toilet" (TOTT) episodes. This is a revised and augmen...
In this post I use Fourier transforms to revive a forgotten Gershwin piano piece. Piano rolls are these rolls of perforated paper that you feed to …
This will no doubt annoy my friends Patrick McKenzie and Thomas Ptacek , who for years have been telling me that I should raise Tarsnap's prices. But while Thomas accuses me of running Tarsnap like a public utility rather than a business, and thinks this is a characteristic to be avoided, I see this as a high…
We have excellent tools to create and edit text (vim, emacs, sublime, etc.). We have pretty good tools to create and edit tabular data (excel, other spreadsheet software). We even have pretty good …
Since its release in December 2005, git has taken over the software industry. In combination with GitHub it is now a powerful tool to publish and share code: From big teams ( linux kernel , id Software , Epic Unreal ) to single individual ( Prince of Persia , Another world , Rick Dangerous ), many have adopted it as…
When I built the original prototype of Light Table I didn’t have any grand purpose or goal in mind. I simply had some ideas on how programming could be better and I wanted to see how hard they would be to build. Until fairly recently, it never dawned on me that I’ve actually spent the past decade trying out ideas on…
Over six months ago, I stopped using Adobe Photoshop and switched to GIMP for all my personal photography projects. This wasn’t the impossible task that most people believe it is.
Robert O'Callahan. Christian. Kiwi. Software guy. All content human-authored unless otherwise noted.
Editing binaries is a trick that comes in handy a few times a year. You don't often need to, but when you do, there's no alternative. When I mention patching binaries, I get one of two reactions: complete shock or no reaction at all. As far as I can tell, this is because most people have one of these two models of the…