rename file terminal linux code example
Example 1: how to rename a file in ubuntu using terminal
mv oldnamefile1 newnamefile1
Example 2: linux change file name
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
Example 5: rename multiple files linux
rename 's/old-name/new-name/' files