I read this guide on how to anchor furniture to a wall but it assumes that you’ll need to drill through the back of the item, attach something to the inside, and connect this to the wall.
I have a couple of sets of shelves that have open backs. One, an Ikea Vittsjö, has unused screw holes near the top of the unit:
(Unusually for Ikea, this item didn’t come with any wall-anchoring hardware.)
Another bookshelf has a bar running along the top back (on the left in this photo):
I could secure these to the wall by running some kind of strong cable through the screw hole (for the first shelf) or around the bar (for the second shelf). Can anyone recommend some appropriate equipment? If it matters, my main concern is keeping these shelves upright in an earthquake.