[CentOS] bash increment in a given way