Do you really mean resistance per unit length or characteristic impedance? Transmission line impedance is a function of four variables, series resistance, shunt resistance, series inductance and shunt capacitance, although if the two resistance components are negligible, then you wind up with the common formula Zo = sqrt(L/C).
If you have a sample of the cable, and a decent LCR meter, it is possible to measure L (short the far end of the cable), and C (far end of the cable is open) and then compute the impedance. You also have the C data for a particular length and you can then measure the C of the cable in question and determine its length from the sample cable data.
There are some problems with this approach as L is not constant with frequency and a measurement at, say, 1 KHz, will not yield the same inductance value as at 100 KHz or 1 MHz in many cables. Hence an LCR meter with 100 KHz or greater frequency is desirable.
The good thing about an LCR meter is that they are relatively inexpensive.
Also, with a TDR, keep in mind that a lot of TDRs were made for unbalanced coaxial cable but the cables you mention, Ethernet, USB, etc. are balanced and will require some additional work to obtain an accurate measurement of either impedance or length with a TDR.
A good TDR will measure with mm resolution and accuracy, and you won't come close to that with an LCR meter. However, accurate length measurements with a TDR require knowledge of the cable's dielectric constant as that determines the velocity of propagation.
It's also possible to measure cable length with a swept frequency measurement. This can be down with a sweep generator, reflectance bridge and a spectrum analyzer, or a spectrum analyzer with tracking generator or a vector network analyzer. Put a short circuit on the far end and look at reflection coefficient versus frequency, repeat with an open on the far end. It can even be done with a cheap signal generator and a receiver. Just depends on the ratio between money available and time available for the measurements.
Also keep in mind the difference between physical and electrical length.
Lastly, of course, a ruler or tape measure is the cheapest way to measure a cable length, but I assume it's in an inaccessible location.