How to prove Proposition 2.29 in page no. 52 of the book " A Course in Abstract Harmonic Analysis (2nd edition)" by G.B. Folland which states that:
If $G/[G,G]$ is compact, then $G$ is unimodular.
Note: A proof is provided but I am unable to grasp it.