how to rename in ubuntu cmd code example Example: rename command ubuntu cd /home/user/docs/files mv file1.txt file2.txt