mv command to move a file in another directory to a different code example
Example 1: how to move file in directory in linux
mv file dir
Example 2: how to move file from one directory to another in linux
mv file1 /tmp
mv file dir
mv file1 /tmp