rename file sudo 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: bash rename file
mv oldname newname
Example 3: sudo rename command
//rename a file linux command
sudo mv file1.txt file2.txt