"I've Been Working on the Railroad" (purchase/download), however, may just be the best known folk song about the U.S. railway system.
You may know our nation's railroads were built primarily by African-Americans and immigrants (particularly Irish immigrants). It was grueling work and, like much grueling work, was no doubt made more tolerable by the presence of music (similarly to the way field calls and African-American folk songs developed out of the slave tradition).
In the case of "I've Been Working on the Railroad," the telling line is "...all the livelong day." These men really did back-breaking work beyond the hours of labor now acceptable in our society.
You may also know the refrain that talks about someone being "in the kitchen with Dinah." This is from another folk song published in London in the 1830s. According to Wikipedia, "It was published as 'Old Joe, or Somebody in the House with Dinah' in London in the 1830s or '40s, with music credited to J.H. Cave." (This note was credited to the Mudcat Cafe, which is an excellent source for lyrics and the history of songs.)
Some believe "Dinah" to be a reference to the cook in the kitchen on the train. Others believe it to be a generic reference to an African-American woman. At any rate, in addition to the popular verse:
Someone's in the kitchen with Dinah
Someone's in the kitchen, I know
Someone's in the kitchen with Dinah
Strumming on the old banjo
There is also a verse about someone making love to Dinah in the kitchen. Other versions of the song, as performed in the blackface tradition, include verses that are incredibly racist (as was customary of blackface minstrel tunes. See also "Oh Susanna!").
(Also known as "The Levee Song," earliest version, c. 1894)


