Ad hoc temperature reading

I have an Argon ONE v1 with a Pi4 running Ubuntu. Is there a script I can call ad hoc over SSH to get the current temperature?

FWIW the device is headless so cute desktop apps won’t work for me.

This works for me with Raspberry Pi OS. It should work with Ubuntu as they ar both based on Debian.
I ran ‘sudo apt install nvme-cli’, then created a shell script (called read temp.sh), and added these lines with nano:-

sudo nvme smart-log /dev/nvme0 |grep temp
sensors |grep fan1
sensors |grep temp
vcgencmd measure_temp

Then set the scripts execute flag.

OFFICIALLY BEST FORUM EXPERIENCE EVER.

Sign up, post a noob question, working response inside 20 minutes.

Thanks!