Not sure if this is what you're looking for, but the simple way to extract nodes for a given line in QGIS is via "Vector > Geometry Tools > Extract nodes". That's just the point-and-click manual GUI way though, so if you need to do this in batches then try Micha's solution<br>