We have systematically investigated the temperature dependent Raman spectroscopy behavior of a few layered MoS2 and WS2 nanosheets synthesized using simple hydrothermal method. Our result reveals A1g and E12g modes soften as temperature increases from 77 K to 623 K. This behavior can be explained in terms of a double resonance process which is active in single- and few layer thick nanosheets. The frequency shifts and peak broadening can provide unambiguous, nondestructive, and accurate information of a few layered MoS2 and WS2. This mechanism can also be applicable in characterizing the structural, optical, electronic, and vibrational properties of other emerging layered materials.