how to rename a file in tern=minal code example Example: rename command ubuntu cd /home/user/docs/files mv file1.txt file2.txt