tag: CLI

hstr - Alternative ctrl+r in bash

5 Jan, 2016 - 1 minutes
Found out about this nice little tool which upgrades bash and zsh’s history searching. You can optionally configure it by: hh --show-configuration >> ~/.bashrc It appears to add the above defaults to your bashrc without your consent. I installed it by adding the developers repository to apt-get as advised. It also apears to only have monochromatic or hicolor settings, I’d like it more if I could configure each colour option.

Search for Files that Do NOT Contain a Certain Term

7 Aug, 2012 - 1 minutes
Windows Command Prompt To do this with Windows Command Prompt, CMD. Start -> Run -> Type “cmd”. use “cd” to change to your working directory and enter: dir | findstr /v /i "FINAL" This will list all files and folders which do not have the word “FINAL” in the title. dir /a:-d | findstr /v /i "FINAL" This will list all files which do not have the word “FINAL” in the title.