rename file linux bash code example
Example 1: bash rename
# Linux - Bash
# syntax:
mv <source-filename> <destination-filename>
# example-1 (fundamental - no switches):
mv "Initial_File_Name.txt" "New_File_Name.txt"
Example 2: linux change file name
mv oldfile.txt newfile.txt
Example 3: bash rename file
mv oldname newname