rename in linux command 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: rename a file in linux
mv oldfile.txt newfile.txt
Example 3: rename folder command line linux
mv old-name new-name
Example 4: rename file linux
mv (option) filename1.ext filename2.ext