Linux Terminal Tools [pdf]
This function will fail when given an argument with a space, which would be quite frustrating for a beginner, which is presumably the target audience for such a document:<p>> mcd() { mkdir -p $1; cd $1 }<p>It should be more like:<p>> mcd() { mkdir -p "$1"; cd "$1"; }<p>The trailing ";" is also required in bash for oneline blocks like this.<p>Same goes for most of the other functions on page 70. "$@", etc.<p>Just trying to make the learning experience less frustrating, not trying to tear down the effort :)