#124: Exclude /etc/hosts from bash_completion

Solved!

Af5622d1c00c6d1174560beee969accc

I just installed the homebrew package bash_completion, hoping to get completion on my SSH commands. Unfortunately, I also use my /etc/hosts file as an ad blocker. This results in bash completion completing my ssh hostnames with a ton of ad servers that I...

#91: piping stderr and stdout

Solved!
Well, I think I've already looked this up and forgotten it twice.

#51: Broken shell command substitution in crontab

Solved!
In a cronjob, I want to execute a date sub-command and substitute the results in place into the overall shell command. Something like: 1 5 * * * bash -c 'cp /foo/bar /foo/bar.$(date +%Y%m%d).sql' Unfortunately, this breaks with an error at runtime: /bin...