I learned by playing the cycle of 4ths.
Start on the E string. Play C F Bb Eb Ab Db Gb B E A D G. I used a metronome on about 60 bpm. I started playing each note as whole notes, then half, quarter and eighth. Then I increased the tempo. Do this on all strings. I found this exercise on...