mv command line code example Example 1: move command in linux mv filename dirname Example 2: command line move file mv file.txt ~/Desktop/Folder