How to rename files?

You can rename files using the mv command in Linux. The syntax is:

mv old-filename new-filename

For example, to rename a file from document.txt to report.txt, you would use:

mv document.txt report.txt

This command changes the name of document.txt to report.txt. If you have any further questions or need more examples, feel free to ask!

0 Comments

no data
Be the first to share your comment!