cat /dev/brain

Articles tagged with bash

Showing bash some love

So in my last post I discussed my pyserv bash function that looks and behaves like a program. I didn't exactly disect it, but I have a different one that I will disect.

Meet my nifty function called sandbox:

sandbox(){
    if [[ -z "$1" ]] ; then
        echo "sandbox: No directory provided"
    else …