The Men from the Ranks
The most significant step in any successful army career of a Roman plebeian was the promotion to the centurionate. To become a centurion meant having become an officer.
The main supply for the centurionate of the legions did indeed come from the ordinary men from the ranks of the legion. Though there was a significant number of centurions from the equestrian rank.
Some of the late emperors of the empire prove very rare examples of ordinary soldiers who rose all the way through the ranks to become high-ranking commanders. But in general the rank of primus pilus, the most senior centurion in a legion, was as high as a ordinary man could reach.
Though this post brought with it, at the end of service, the rank of equestrian, including the status - and wealth ! - that this elevated position in Roman society brought with it.
The ordinary soldier's promotion would most likely start with the rank of optio. This was the assistant to the centurion who acted as a kind of corporal. Having proven himself worthy and earned promotion an optio would then be promoted to being a centurio, an officer in command of eighty legionaries.
However for this to happen, there would have to be a vacancy. If this was not the case he might be made optio ad spem ordinis. This marked him out by rank as ready for the centurionate, merely waiting for a position to become free. Once this happened he would be awarded the centurionate.
However, if the step from legionary to optio to centurio provides the ideal, simple example, we must accept that the reality was not necessarily always quite as straightforward.
The army provided several stepping stones up the ladder of promotion. The very first step might be considered the position of decanus, granting the soldier seniority over his tent party. Given that a tent held eight men, this was a very minor position.
Further steps allowed the promotion to tesserarius, signifer, or perhaps even cornicen. It isn't known if, when a temporary vexillarius was needed to carry the vexillum standard for an irregular detachment from the legion, this represented a promotion of sorts for an ordinary soldier.
Once the position of optio was achieved, an alternative promotion might be that of decurion in the cavalry attached to the legion.
So the successful army career of a soldier from the ranks was not necessarily clear-cut, but depended on what opportunities arose at the time.
However once the status of officer had been achieved, there was further division between the seniority of centurions. (It is fair to assume that a similar ranking of seniority existed among the decurions of the cavalry.) And as a newcomer, our former optio would start on the lowest rung of this ladder.
With their being six centuries to each cohort, each regular cohort had 6 centurions.
The centurion commanding the century most forward was the hastatus prior, the one commanding the century immediately behind his, was the hastatus posterior.
The next two centuries behind them were commanded respectively by the princeps prior and the princeps posterior.
Finally the centuries behind these were commanded by the pilus prior and the pilus posterior.
Seniority between the centurions was most likely such that the pilus prior commanded the cohort, followed by the princeps prior and then the hastatus prior. Next in line would be the pilus posterior, followed by the princeps posterior and finally the hastatus posterior.
The number of his cohort was also part of a centurion's rank, so the full title of the centurion commanding the third century of the second cohort would be centurio secundus hastatus prior.
The first cohort was the most senior in rank. All its centurions outranked the centurions of the other cohorts. Though according to its special status, it had only five centurions, their being no division between pilus prior and posterior, but their role being filled by the primus pilus, the highest ranking centurion of the legion.