rename a file in linux

Shell
mv (option) filename1.ext filename2.ext# Linux - Bash

# syntax:
# mv "<source-filename>" "<destination-filename>"

# example-1 (fundamental - no switches):
mv "Initial_File_Name.txt" "New_File_Name.txt"mv oldnamefile1 newnamefile1mv oldfile.txt newfile.txt
Source

Also in Shell: