rename Linux Commands
What is Linux rename Command?
Explanation
rename COMMAND:rename command is used to change the old name of the file to the new name.
SYNTAX :
mv [oldname] [newname]
OPTIONS:
-V,--version |
Display version information and exit. |
EXAMPLE:
-
mv a.txt b.txt
Output:
In the above example, the file named a.txt is renamed to b.txt.