I just installed Fedora 34 on a "junk laptop" to play along with.  Looked on line and wound up with a couple different answers, and so perhaps they are all correct.  My question is when I want to update all the packages in the lap top what is the correct/best command?

Also what is the difference between

dnf upgrade

and

dnf upgrade --refresh

Thanks

Ron