rename file command unix code example Example 1: bash rename file mv oldname newname Example 2: unix rename file mv thirdfile file3