Fixed bash example codes