Linux rename a file syntax

In short, to rename a file:

Code:
mv file1 file2
You can get verbose output i.e. mv command can explain what is being done using the following syntax:

Code:
mv -v file1 file2
Sample outputs:

Code:
`file1' -> `file2'
To make mv interactive pass the -i option. This option will prompt before overwriting file:

Code:
mv -i file1 file2
Sample outputs:

Code:
mv: overwrite `file2'? y