History

Facebook Twitter

The Encyclopedia of Computer Languages. The bash history command. Sometimes I run through the search terms people use within my site, or to get to my site, and I see some interesting stuff.

The bash history command

Over the years, I’ve written perhaps hundreds of technical blog posts and articles at various sites and in magazines (and a book), but I have never once touched on the “history” command. In spite of that, someone searched for “what does the history command do”, and somehow landed on this site. Here’s a quick overview I give people who take my Linux From the Ground Up class (I’m currently booking on-site training for the July-September period, by the way). The history command is built into the bash shell (and zsh, and other shells as well). This means you won’t find it sitting around in /usr/bin.