For instance, let's say I mounted dev/sda1 and dev/sda2 in the distant past. I'm in media and I see folders drive1 and drive2. What command can I use to see which one is sda1 and which one is sda2?
How do I find which external drive a folder is mounted from?
mount
lsblk should do the trick. Or mount. Or findmnt.