command linux mv code example Example 1: move command in linux mv filename dirname Example 2: mv linux command mv file1.txt file.2.txt file3.txt folder