Master the macOS command line: How to copy and move files through Terminal

Wish you could move a bunch of folders all at once or instantly move every file of a certain type into a new folder? The command line may be the answer.
macOS Big Sur Terminal icon