How to find out Raspberry Pi GPU and ARM CPU temperature on Linux

I am using a Raspberry PI 2/3 credit size computer. If a Raspberry Pi run hot enough to cause permanent hardware damage, under some situations it could get hot enough to cause stability problems until the system cools off. So, how do I find out my GPU or ARM CPU temperature from Linux operating system command line option?