Pairs of beveled strips that interlock to support shelves, cabinets or pictures are called French cleats. They’re great for hanging any shelf or cabinet and have a few advantages in certain situations.
First, the cleats work well for heavy cabinets because you can easily mount the wall cleat and then simply lift the cabinet and “hook” it on. There’s no need to support a heavy cabinet temporarily while you drive screws to anchor it.
Another common use for French cleats is to create a flexible system of shelves or cabinets. You can screw one or more lengths of wall cleats across the entire wall, and then easily relocate shelves, or add more shelves at a later date. Make cleats by ripping strips of 3/4-in. plywood with a 45-degree bevel on one edge. Screw one strip to the wall and the other to the back of the shelf or cabinet.