rename file name using bash script code example Example 1: bash rename file mv oldname newname Example 2: unix rename file mv thirdfile file3