To rename a file on a computer with a graphical interface, you open a window, find the file you want to rename, click on its name (or right-click and select the option to rename), and then enter a new name.
To rename a file in the terminal, you actually move the file with mv, but you move the file from itself to itself with a new name.
read more