There are various ways to rename files in
Linux, including the graphical user interface and a number of dedicated terminal commands. Individual files can be renamed reasonably easily, however renaming numerous files at once can be difficult.
To move files and directories from the terminal, use the Linux mv (move) command. The syntax is as follows:
mv [options] [source] [destination]
When you use the mv command and specify a target directory, the source file is moved to that directory. If the destination file has a different name than the source file, the mv command renames the source file to that name.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.