For orbital angular momentum,
\[
\hat{\vec L}=\hat{\vec r}\times\hat{\vec p},
\]
so that
\[
\hat L_x=\hat y\hat p_z-\hat z\hat p_y,
\qquad
\hat L_y=\hat z\hat p_x-\hat x\hat p_z,
\qquad
\hat L_z=\hat x\hat p_y-\hat y\hat p_x.
\]
The canonical commutation relation for position and momentum is
\[
[\hat x_i,\hat p_j]=i\hbar\delta_{ij},
\]
while different position components commute,
\[
[\hat x_i,\hat x_j]=0,
\]
and different momentum components commute,
\[
[\hat p_i,\hat p_j]=0.
\]
We now calculate \([\hat L_x,\hat L_y]\) explicitly:
\[
\begin{aligned}
[\hat L_x,\hat L_y]
&=[\hat y\hat p_z-\hat z\hat p_y,\,
\hat z\hat p_x-\hat x\hat p_z]\\
&=[\hat y\hat p_z,\hat z\hat p_x]
-[\hat y\hat p_z,\hat x\hat p_z]
-[\hat z\hat p_y,\hat z\hat p_x]
+[\hat z\hat p_y,\hat x\hat p_z].
\end{aligned}
\]
Consider the four terms separately.
For the first term, \(\hat y\) commutes with \(\hat z\), \(\hat p_x\), and \(\hat p_z\), while \([\hat p_z,\hat z]=-i\hbar\). Therefore,
\[
\begin{aligned}
[\hat y\hat p_z,\hat z\hat p_x]
&=\hat y[\hat p_z,\hat z]\hat p_x\\
&=-i\hbar\,\hat y\hat p_x.
\end{aligned}
\]
The second term vanishes because \(\hat y\), \(\hat x\), and \(\hat p_z\) all commute with one another:
\[
[\hat y\hat p_z,\hat x\hat p_z]=0.
\]
The third term also vanishes:
\[
[\hat z\hat p_y,\hat z\hat p_x]=0.
\]
For the final term, \(\hat p_y\) commutes with \(\hat x\), \(\hat z\), and \(\hat p_z\), while \([\hat z,\hat p_z]=i\hbar\). Hence,
\[
\begin{aligned}
[\hat z\hat p_y,\hat x\hat p_z]
&=\hat x[\hat z,\hat p_z]\hat p_y\\
&=i\hbar\,\hat x\hat p_y.
\end{aligned}
\]
Putting the four terms together,
\[
\begin{aligned}
[\hat L_x,\hat L_y]
&=i\hbar(\hat x\hat p_y-\hat y\hat p_x)\\
&=i\hbar\hat L_z.
\end{aligned}
\]
The other two relations follow by cyclic permutation:
\[
[\hat L_y,\hat L_z]=i\hbar\hat L_x,
\qquad
[\hat L_z,\hat L_x]=i\hbar\hat L_y.
\]
Thus the familiar orbital definition \(\hat{\vec L}=\hat{\vec r}\times\hat{\vec p}\) provides one concrete realization of the general angular-momentum algebra.