I don't understand how bash works