change name of file unix code example Example 1: linux change file name mv oldfile.txt newfile.txt Example 2: unix rename file mv thirdfile file3