It goes with "doesn't know ..." You say it about somebody who doesn't know anything of any use at all, and when it is not enough to say "he doesn't know jack," and you are tired of "jack-shit."
The first four years of being an alderman, you don't know jack-bone! (Maze Jackson on his radio show)