bash example from bash.cyberciti.biz/guide/Other_standard_shells