move all files from one directory to another linux code example

Example 1: linux move everything in a directory to another directory

mv  -v ~/Downloads/* ~/Videos/

Example 2: ubuntu move folder to another directory

sudo mv /root/folder1 /home/folder2/

Example 3: linux move all files up a directory

mv myfolder/* .

Example 4: mv folder linux

how to move a folder in Linux....  mv /path/to/source /path/to/dest

Example 5: linux command to move a file to another directory

mv filename directoryname