rename file in bash terminal code example Example 1: bash rename file mv oldname newname Example 2: rename set of files terminal linux $ mmv a\* b\#1