Blog Archives

Bash History Tricks: big history, no duplicates, accesible from all the terminals

In this article I will show you some bash history magic. With the following settings added in your ~/.bashrc file, you will make your history: Remember everything from every terminal Is instanly accesible from every terminal Doesn’t skip random commands

Tagged with: , , , , , ,
Posted in The Linux and Unix Articles!

Ignore duplicate entries in the bash history

As you know, bash keeps a history of the commands used in your user’s session. But, when you use a command twice (or more), it will be saved with two (or more) entries in the bash history. The best way

Tagged with: , , , , , , ,
Posted in The Linux and Unix Articles!
Support LinuxG via Patreon
Support LinuxG.net on Patreon!
Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!