General Info

Using hash tags to organize bash history

From http://vignesh.foamsnet.com

Using hash tags to organize bash history

We use hash tags all over the place in social networks. We use it extensively on Twitter and Instagram. Facebook recently launched support for hash tags as well.

So, in a way, our online life revolves around hash tags. Given that, it’s a really great thing for bash power users that # in shell means comment. I usually tend to type long commands and won’t bother remembering or saving them somewhere as it is in the bash history and i can retrieve it by reverse-i-search (Ctrl+R) anytime I want.
(more…)

Continue ReadingUsing hash tags to organize bash history

CSF Updates

Hello,

Just a heads up to you tech heads out there that CSF made a few major changes to the firewall data structure. These changes mostly affects the location of where the csf temporary IP block files are located.

The csf temporary block files ‘csf.tempban’ and ‘csf.tempip’ are now located in /var/lib/csf/

Below is the most recent change log which includes the directory structure changes for CSF:
(more…)

Continue ReadingCSF Updates

10 Ways to Generate a Random Password from the Command Line

From http://www.howtogeek.com

One of the great things about Linux is that you can do the same thing hundreds of different ways—even something as simple as generating a random password can be accomplished with dozens of different commands. Here’s 10 ways you can do it.

We gathered all of these commands from Command-Line Fu and tested them out on our own Linux PC to make sure they work. You should be able to use at least some of these on Windows with Cygwin installed, though we didn’t test all of them—the last one definitely works though.
Generate a Random Password

For any of these random password commands, you can either modify them to output a different password length, or you can just use the first x characters of the generated password if you don’t want such a long password. Hopefully you’re using a password manager like LastPass anyway so you don’t need to memorize them.
(more…)

Continue Reading10 Ways to Generate a Random Password from the Command Line