Language Selection

English French German Italian Portuguese Spanish

Bash HISTCONTROL

Filed under
HowTos

I happened to come across Linux Tips: take control of your bash_history. This explains that setting "export HISTCONTROL=ignoreboth" causes Bash not to store duplicate commands in history. For example, if you are checking "ps" waiting for some process to end:

ps -e | grep foo

and keep pressing up arrow every few seconds to repeat it, you'll end up with a long list of those in your history if this isn't set. If it is set, you get only the last.

Actually there's much more to this than that little post exlained.

Full Story.

More in Tux Machines

R and Mozilla Development

  • A Good Front End for R
    R is the de facto statistical package in the Open Source world. It's also quickly becoming the default data-analysis tool in many scientific disciplines. R's core design includes a central processing engine that runs your code, with a very simple interface to the outside world. This basic interface means it's been easy to build graphical interfaces that wrap the core portion of R, so lots of options exist that you can use as a GUI. In this article, I look at one of the available GUIs: RStudio. RStudio is a commercial program, with a free community version, available for Linux, Mac OSX and Windows, so your data analysis work should port easily regardless of environment. For Linux, you can install the main RStudio package from the download page. From there, you can download RPM files for Red Hat-based distributions or DEB files for Debian-based distributions, then use either rpm or dpkg to do the installation.
  • happy bmo push day!
    New Features: Comments are remembered if you cancel an edit or navigate away from the bug page, and private comments are more obviously private.

Hadoop Market Analysis and Potential in Africa

Best open source Microsoft Office alternatives

Microsoft Office remains the go-to productivity package for many businesses, with the obvious exception to that being Google G Suite users. But high costs and a growing number of irrelevant features means that increasingly, professionals are looking for more options. Luckily, there are a number of options out there which are completely free. Here, we take a look at the best open source software packages that provide a successful replacement to Microsoft Office. And don’t worry, most are also compatible with Microsoft Office documents, meaning the transition to new software needn’t be messy. Read more

A look at Peek screen recorder for GNU/Linux

Have you ever found yourself wanting to record something on your screen for a few moments, to show someone else? I’m not talking videogame streaming or anything on that big of a level, but rather more the need to show someone where to find a menu item, or how to change a configuration setting, or other similar examples. If so, Peek could become your new best friend, for recording GIFs or other silent videos of what's happening on your screen. Peek is likely the most simplistic tool I have ever used for this purpose, but I don’t say that in a bad way, if anything it makes it even more of a pleasure to work with. Read more