Renaming file and directory is quite straight forward in GNU/Linux, in this guide I'll show you how to do just that...
The mv command is among the useful utility for renaming, and moving files from one location to another, to rename a file, you use the following syntax:
mv [OPTIONS] source destination
To rename a file, you need to specify a single file as a source and single file as a destination target. For example, to rename the file book1.txt as book2.txt you would run:
mv book1.txt book2.txt
You can also rename multiple files with a little of code, which is beyond this guide.