how to change name of file linux terminal code example Example 1: linux change file name mv oldfile.txt newfile.txt Example 2: rename set of files terminal linux $ mmv a\* b\#1